aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/joint/multibody_joint
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-01-23 18:04:24 +0100
committerSébastien Crozet <developer@crozet.re>2022-01-23 18:04:24 +0100
commit0c7ebae1aaae3ca2a55e33429a4466110deda208 (patch)
treeb2467543ba4610bc7d3e0902f6d45e3fb3823a01 /src/dynamics/joint/multibody_joint
parent536122e08066c762a0f6a1585c458f6c7a54bc2e (diff)
downloadrapier-0c7ebae1aaae3ca2a55e33429a4466110deda208.tar.gz
rapier-0c7ebae1aaae3ca2a55e33429a4466110deda208.tar.bz2
rapier-0c7ebae1aaae3ca2a55e33429a4466110deda208.zip
Run cargo fmt
Diffstat (limited to 'src/dynamics/joint/multibody_joint')
-rw-r--r--src/dynamics/joint/multibody_joint/multibody.rs4
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()
}