aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/joint/mod.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-01-02 18:05:50 +0100
committerGitHub <noreply@github.com>2022-01-02 18:05:50 +0100
commit1308db89948bc62fb865b32f832f19268f23dd23 (patch)
treeb3d8b0cbb6d2e75aa8fc7686e9cb8801527a31b8 /src/dynamics/joint/mod.rs
parent8e7da5ad45d180b0d3fa2bde37f8f3771b153b70 (diff)
parent9f9d3293605fa84555c08bec5efe68a71cd18432 (diff)
downloadrapier-1308db89948bc62fb865b32f832f19268f23dd23.tar.gz
rapier-1308db89948bc62fb865b32f832f19268f23dd23.tar.bz2
rapier-1308db89948bc62fb865b32f832f19268f23dd23.zip
Merge pull request #267 from dimforge/multibody
Implement multibody joints, and new velocity-based constraints solver
Diffstat (limited to 'src/dynamics/joint/mod.rs')
-rw-r--r--src/dynamics/joint/mod.rs27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/dynamics/joint/mod.rs b/src/dynamics/joint/mod.rs
index 72a7483..6594b83 100644
--- a/src/dynamics/joint/mod.rs
+++ b/src/dynamics/joint/mod.rs
@@ -1,20 +1,21 @@
-pub use self::ball_joint::BallJoint;
pub use self::fixed_joint::FixedJoint;
-// pub use self::generic_joint::GenericJoint;
-pub use self::joint::{Joint, JointParams};
-pub(crate) use self::joint_set::{JointGraphEdge, JointIndex};
-pub use self::joint_set::{JointHandle, JointSet};
+pub use self::impulse_joint::*;
+pub use self::joint_data::*;
+pub use self::motor_model::MotorModel;
+pub use self::multibody_joint::*;
pub use self::prismatic_joint::PrismaticJoint;
-#[cfg(feature = "dim3")]
pub use self::revolute_joint::RevoluteJoint;
-pub use self::spring_model::SpringModel;
-mod ball_joint;
+#[cfg(feature = "dim3")]
+pub use self::spherical_joint::SphericalJoint;
+
mod fixed_joint;
-// mod generic_joint;
-mod joint;
-mod joint_set;
+mod impulse_joint;
+mod joint_data;
+mod motor_model;
+mod multibody_joint;
mod prismatic_joint;
-#[cfg(feature = "dim3")]
mod revolute_joint;
-mod spring_model;
+
+#[cfg(feature = "dim3")]
+mod spherical_joint;