Fix warnings

This commit is contained in:
Sébastien Crozet
2022-10-02 17:55:23 +02:00
parent 36e85d0708
commit a886529669
3 changed files with 21 additions and 4 deletions

View File

@@ -131,7 +131,7 @@ pub fn init_world(testbed: &mut Testbed) {
(run_state.time * 2.0).sin() * 2.0,
(run_state.time * 5.0).sin() * 1.5
];
let angvel = run_state.time.sin() * 0.5;
// let angvel = run_state.time.sin() * 0.5;
// Update the velocity-based kinematic body by setting its velocity.
if let Some(platform) = physics.bodies.get_mut(platform_handle) {