aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/mod.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2020-08-25 22:10:25 +0200
committerSébastien Crozet <developer@crozet.re>2020-08-25 22:10:25 +0200
commit754a48b7ff6d8c58b1ee08651e60112900b60455 (patch)
tree7d777a6c003f1f5d8f8d24f533f35a95a88957fe /src/dynamics/mod.rs
downloadrapier-0.1.0.tar.gz
rapier-0.1.0.tar.bz2
rapier-0.1.0.zip
First public release of Rapier.v0.1.0
Diffstat (limited to 'src/dynamics/mod.rs')
-rw-r--r--src/dynamics/mod.rs30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/dynamics/mod.rs b/src/dynamics/mod.rs
new file mode 100644
index 0000000..4499d95
--- /dev/null
+++ b/src/dynamics/mod.rs
@@ -0,0 +1,30 @@
+//! Structures related to dynamics: bodies, joints, etc.
+
+pub use self::integration_parameters::IntegrationParameters;
+pub(crate) use self::joint::JointIndex;
+#[cfg(feature = "dim3")]
+pub use self::joint::RevoluteJoint;
+pub use self::joint::{
+ BallJoint, FixedJoint, Joint, JointHandle, JointParams, JointSet, PrismaticJoint,
+};
+pub use self::mass_properties::MassProperties;
+pub use self::rigid_body::{ActivationStatus, BodyStatus, RigidBody, RigidBodyBuilder};
+pub use self::rigid_body_set::{BodyPair, RigidBodyHandle, RigidBodyMut, RigidBodySet};
+// #[cfg(not(feature = "parallel"))]
+pub(crate) use self::joint::JointGraphEdge;
+#[cfg(not(feature = "parallel"))]
+pub(crate) use self::solver::IslandSolver;
+#[cfg(feature = "parallel")]
+pub(crate) use self::solver::ParallelIslandSolver;
+
+mod integration_parameters;
+mod joint;
+mod mass_properties;
+mod mass_properties_ball;
+mod mass_properties_capsule;
+mod mass_properties_cuboid;
+#[cfg(feature = "dim2")]
+mod mass_properties_polygon;
+mod rigid_body;
+mod rigid_body_set;
+mod solver;