Make clippy a bit happier
This commit is contained in:
@@ -304,7 +304,7 @@ impl RigidBody {
|
||||
}
|
||||
|
||||
fn integrate_velocity(&self, dt: Real) -> Isometry<Real> {
|
||||
let com = &self.position * self.mass_properties.local_com;
|
||||
let com = self.position * self.mass_properties.local_com;
|
||||
let shift = Translation::from(com.coords);
|
||||
shift * Isometry::new(self.linvel * dt, self.angvel * dt) * shift.inverse()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user