From 0de505b74cb746a3bd67fc028e70f9e8080e9dd8 Mon Sep 17 00:00:00 2001 From: Joshua Barretto Date: Sun, 30 Jun 2019 23:46:55 +0100 Subject: [PATCH] fmt --- common/src/sys/phys.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/src/sys/phys.rs b/common/src/sys/phys.rs index b0fcce54aa..eed85cd56a 100644 --- a/common/src/sys/phys.rs +++ b/common/src/sys/phys.rs @@ -141,7 +141,11 @@ impl<'a> System<'a> for Sys { // Set direction based on velocity if Vec2::::from(vel.0).magnitude_squared() > 0.1 { - ori.0 = Lerp::lerp(ori.0, vel.0.normalized() * Vec3::new(1.0, 1.0, 0.0), 10.0 * dt.0); + ori.0 = Lerp::lerp( + ori.0, + vel.0.normalized() * Vec3::new(1.0, 1.0, 0.0), + 10.0 * dt.0, + ); } // Integrate forces