aboutsummaryrefslogtreecommitdiff
path: root/examples3d/platform3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples3d/platform3.rs')
-rw-r--r--examples3d/platform3.rs7
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()
-}