diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-05-16 17:49:20 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2021-05-16 17:49:20 +0200 |
| commit | 1a84bf2af34176508bdda8d0f2ad2e46dc5c4df9 (patch) | |
| tree | b3f2ccf2ee0490eb59e4b84223446aa494d18c94 /examples3d/platform3.rs | |
| parent | f350ac35d9889085af3f51a1894e2cc87173cb98 (diff) | |
| download | rapier-1a84bf2af34176508bdda8d0f2ad2e46dc5c4df9.tar.gz rapier-1a84bf2af34176508bdda8d0f2ad2e46dc5c4df9.tar.bz2 rapier-1a84bf2af34176508bdda8d0f2ad2e46dc5c4df9.zip | |
Replace Kiss3d by Bevy for the testbed renderer.
Diffstat (limited to 'examples3d/platform3.rs')
| -rw-r--r-- | examples3d/platform3.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/examples3d/platform3.rs b/examples3d/platform3.rs index 7b5c986..786ddbf 100644 --- a/examples3d/platform3.rs +++ b/examples3d/platform3.rs @@ -65,7 +65,7 @@ pub fn init_world(testbed: &mut Testbed) { * Setup a callback to control the platform. */ let mut count = 0; - testbed.add_callback(move |_, _, physics, _, run_state| { + testbed.add_callback(move |_, physics, _, run_state| { count += 1; if count % 100 > 50 { return; @@ -95,8 +95,3 @@ pub fn init_world(testbed: &mut Testbed) { testbed.set_world(bodies, colliders, joints); testbed.look_at(Point3::new(-10.0, 5.0, -10.0), Point3::origin()); } - -fn main() { - let testbed = Testbed::from_builders(0, vec![("Kinematic body", init_world)]); - testbed.run() -} |
