From 6f9a4a678b033f90d0cd66a4a46060783178d2ec Mon Sep 17 00:00:00 2001 From: rewin Date: Sat, 4 Nov 2023 19:06:04 +0300 Subject: [PATCH] cargo fmt --- examples/platformer.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/platformer.rs b/examples/platformer.rs index f12dc573..8142c26e 100644 --- a/examples/platformer.rs +++ b/examples/platformer.rs @@ -133,8 +133,6 @@ fn move_player( target_vel *= controller.speed; - - //smooth change vel let mut cur_vel = vel.0; cur_vel = vel.0 + (target_vel - cur_vel) * 10.0 * time.delta_seconds();