aboutsummaryrefslogtreecommitdiff
path: root/examples3d/platform3.rs
diff options
context:
space:
mode:
authorrezural <rezural@protonmail.com>2020-12-31 15:23:25 +1100
committerrezural <rezural@protonmail.com>2020-12-31 15:23:25 +1100
commit6f508e5d04e5652991f9feaad09231af84542ac1 (patch)
treebce4330348a5fe78bdb5476be7e837129818e7d6 /examples3d/platform3.rs
parent1ac2d03fea4f51164df0b662fe990c27aedaf0ab (diff)
downloadrapier-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 'examples3d/platform3.rs')
-rw-r--r--examples3d/platform3.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/platform3.rs b/examples3d/platform3.rs
index b71d307..944adae 100644
--- a/examples3d/platform3.rs
+++ b/examples3d/platform3.rs
@@ -67,7 +67,7 @@ pub fn init_world(testbed: &mut Testbed) {
let mut count = 0;
testbed
.harness_mut()
- .add_callback(move |physics, _, run_state, _| {
+ .add_callback(move |physics, _, run_state| {
count += 1;
if count % 100 > 50 {
return;