diff options
Diffstat (limited to 'examples3d/sensor3.rs')
| -rw-r--r-- | examples3d/sensor3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples3d/sensor3.rs b/examples3d/sensor3.rs index e734258..db01265 100644 --- a/examples3d/sensor3.rs +++ b/examples3d/sensor3.rs @@ -75,7 +75,7 @@ pub fn init_world(testbed: &mut Testbed) { // Callback that will be executed on the main loop to handle proximities. testbed .harness_mut() - .add_callback(move |physics, events, _, _| { + .add_callback(move |physics, events, _| { while let Ok(prox) = events.proximity_events.try_recv() { let color = match prox.new_status { Proximity::WithinMargin | Proximity::Intersecting => Point3::new(1.0, 1.0, 0.0), |
