1#![warn(missing_docs)]
10#![doc(
11 html_logo_url = "http://free.plopgrizzly.com/plop/icon.svg",
12 html_favicon_url = "http://free.plopgrizzly.com/plop/icon.svg",
13 html_root_url = "http://free.plopgrizzly.com/plop/"
14)]
15
16extern crate aci_png; extern crate ami; mod derivative;
21mod rigid_body;
22mod state;
23mod kinematics;
24mod mass;
25
26pub mod prelude;
28
29pub use ami::{ BBox };
30pub use derivative::Derivative;
32pub use rigid_body::RigidBody;
33pub use state::State;
34pub use mass::Mass;
35
36mod constants {
37 pub const GRAVITY: f32 = 9.81;
38 #[allow(unused)] pub const METER: f32 = 1.0;
40 #[allow(unused)] pub const DT: f32 = 1.0 / 100.0;
42}
43
44pub fn integrate(_state: State, _t: f32, _dt: f32) {
46
47}