diff options
| author | rezural <rezural@protonmail.com> | 2020-12-31 15:23:25 +1100 |
|---|---|---|
| committer | rezural <rezural@protonmail.com> | 2020-12-31 15:23:25 +1100 |
| commit | 6f508e5d04e5652991f9feaad09231af84542ac1 (patch) | |
| tree | bce4330348a5fe78bdb5476be7e837129818e7d6 /examples2d/platform2.rs | |
| parent | 1ac2d03fea4f51164df0b662fe990c27aedaf0ab (diff) | |
| download | rapier-6f508e5d04e5652991f9feaad09231af84542ac1.tar.gz rapier-6f508e5d04e5652991f9feaad09231af84542ac1.tar.bz2 rapier-6f508e5d04e5652991f9feaad09231af84542ac1.zip | |
remove redundant time :f32 from harness callbacks. it can be access via run_state.time
Diffstat (limited to 'examples2d/platform2.rs')
| -rw-r--r-- | examples2d/platform2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2d/platform2.rs b/examples2d/platform2.rs index 769161f..88f05f2 100644 --- a/examples2d/platform2.rs +++ b/examples2d/platform2.rs @@ -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(); |
