From 1a84bf2af34176508bdda8d0f2ad2e46dc5c4df9 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Sun, 16 May 2021 17:49:20 +0200 Subject: Replace Kiss3d by Bevy for the testbed renderer. --- examples3d/debug_shape_modification3.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'examples3d/debug_shape_modification3.rs') diff --git a/examples3d/debug_shape_modification3.rs b/examples3d/debug_shape_modification3.rs index 7ec06dd..bef56fa 100644 --- a/examples3d/debug_shape_modification3.rs +++ b/examples3d/debug_shape_modification3.rs @@ -44,7 +44,7 @@ pub fn init_world(testbed: &mut Testbed) { let mut step = 0; let snapped_frame = 51; - testbed.add_callback(move |_, _, physics, _, _| { + testbed.add_callback(move |_, physics, _, _| { step += 1; // Snap the ball velocity or restore it. @@ -116,8 +116,3 @@ pub fn init_world(testbed: &mut Testbed) { testbed.set_world(bodies, colliders, joints); testbed.look_at(Point3::new(10.0, 10.0, 10.0), Point3::origin()); } - -fn main() { - let testbed = Testbed::from_builders(0, vec![("Boxes", init_world)]); - testbed.run() -} -- cgit