Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rewin123 committed Nov 4, 2023
1 parent 6671ce3 commit 6f9a4a6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/platformer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6f9a4a6

Please sign in to comment.