diff options
Diffstat (limited to 'src/dynamics/joint/multibody_joint')
| -rw-r--r-- | src/dynamics/joint/multibody_joint/multibody.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamics/joint/multibody_joint/multibody.rs b/src/dynamics/joint/multibody_joint/multibody.rs index 5779b3e..f2fa623 100644 --- a/src/dynamics/joint/multibody_joint/multibody.rs +++ b/src/dynamics/joint/multibody_joint/multibody.rs @@ -18,7 +18,7 @@ use na::{ }; #[repr(C)] -#[derive(Copy, Clone, Debug,Default)] +#[derive(Copy, Clone, Debug, Default)] struct Force { linear: Vector<Real>, angular: AngVector<Real>, @@ -91,7 +91,7 @@ pub struct Multibody { coriolis_w: Vec<OMatrix<Real, AngDim, Dynamic>>, i_coriolis_dt: Jacobian<Real>, } -impl Default for Multibody{ +impl Default for Multibody { fn default() -> Self { Multibody::new() } |
