diff options
| author | Sébastien Crozet <developer@crozet.re> | 2022-01-23 18:04:24 +0100 |
|---|---|---|
| committer | Sébastien Crozet <developer@crozet.re> | 2022-01-23 18:04:24 +0100 |
| commit | 0c7ebae1aaae3ca2a55e33429a4466110deda208 (patch) | |
| tree | b2467543ba4610bc7d3e0902f6d45e3fb3823a01 /src/dynamics/joint/fixed_joint.rs | |
| parent | 536122e08066c762a0f6a1585c458f6c7a54bc2e (diff) | |
| download | rapier-0c7ebae1aaae3ca2a55e33429a4466110deda208.tar.gz rapier-0c7ebae1aaae3ca2a55e33429a4466110deda208.tar.bz2 rapier-0c7ebae1aaae3ca2a55e33429a4466110deda208.zip | |
Run cargo fmt
Diffstat (limited to 'src/dynamics/joint/fixed_joint.rs')
| -rw-r--r-- | src/dynamics/joint/fixed_joint.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dynamics/joint/fixed_joint.rs b/src/dynamics/joint/fixed_joint.rs index 6082938..c7ca904 100644 --- a/src/dynamics/joint/fixed_joint.rs +++ b/src/dynamics/joint/fixed_joint.rs @@ -6,11 +6,13 @@ use crate::math::{Isometry, Point, Real}; pub struct FixedJoint { data: JointData, } -impl Default for FixedJoint{ + +impl Default for FixedJoint { fn default() -> Self { FixedJoint::new() } } + impl FixedJoint { pub fn new() -> Self { #[cfg(feature = "dim2")] |
