diff options
Diffstat (limited to 'benchmarks2d/pyramid2.rs')
| -rw-r--r-- | benchmarks2d/pyramid2.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks2d/pyramid2.rs b/benchmarks2d/pyramid2.rs index a557ff4..61636b9 100644 --- a/benchmarks2d/pyramid2.rs +++ b/benchmarks2d/pyramid2.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 @@ -50,6 +51,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, 2.5], 5.0); } |
