aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/joint/fixed_joint.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamics/joint/fixed_joint.rs')
-rw-r--r--src/dynamics/joint/fixed_joint.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dynamics/joint/fixed_joint.rs b/src/dynamics/joint/fixed_joint.rs
index 10c4d7e..c7ca904 100644
--- a/src/dynamics/joint/fixed_joint.rs
+++ b/src/dynamics/joint/fixed_joint.rs
@@ -7,6 +7,12 @@ pub struct FixedJoint {
data: JointData,
}
+impl Default for FixedJoint {
+ fn default() -> Self {
+ FixedJoint::new()
+ }
+}
+
impl FixedJoint {
pub fn new() -> Self {
#[cfg(feature = "dim2")]