remove redundant time :f32 from harness callbacks. it can be access via run_state.time
This commit is contained in:
@@ -62,7 +62,7 @@ pub fn init_world(testbed: &mut Testbed) {
|
||||
*/
|
||||
testbed
|
||||
.harness_mut()
|
||||
.add_callback(move |physics, _, run_state, _| {
|
||||
.add_callback(move |physics, _, run_state| {
|
||||
let platform = physics.bodies.get_mut(platform_handle).unwrap();
|
||||
let mut next_pos = *platform.position();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user