diff options
Diffstat (limited to 'benchmarks2d/boxes2.rs')
| -rw-r--r-- | benchmarks2d/boxes2.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks2d/boxes2.rs b/benchmarks2d/boxes2.rs index 2e4c5e4..c3d7445 100644 --- a/benchmarks2d/boxes2.rs +++ b/benchmarks2d/boxes2.rs @@ -7,7 +7,8 @@ pub fn init_world(testbed: &mut Testbed) { */ let mut bodies = RigidBodySet::new(); let mut colliders = ColliderSet::new(); - let joints = JointSet::new(); + let impulse_joints = ImpulseJointSet::new(); + let multibody_joints = MultibodyJointSet::new(); /* * Ground @@ -63,6 +64,6 @@ pub fn init_world(testbed: &mut Testbed) { /* * Set up the testbed. */ - testbed.set_world(bodies, colliders, joints); + testbed.set_world(bodies, colliders, impulse_joints, multibody_joints); testbed.look_at(point![0.0, 50.0], 10.0); } |
