diff options
Diffstat (limited to 'benchmarks2d/joint_fixed2.rs')
| -rw-r--r-- | benchmarks2d/joint_fixed2.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks2d/joint_fixed2.rs b/benchmarks2d/joint_fixed2.rs index baaa250..8d6e8dc 100644 --- a/benchmarks2d/joint_fixed2.rs +++ b/benchmarks2d/joint_fixed2.rs @@ -50,7 +50,7 @@ pub fn init_world(testbed: &mut Testbed) { Isometry::identity(), Isometry::translation(0.0, shift), ); - joints.insert(&mut bodies, parent_handle, child_handle, joint); + joints.insert(parent_handle, child_handle, joint); } // Horizontal joint. @@ -61,7 +61,7 @@ pub fn init_world(testbed: &mut Testbed) { Isometry::identity(), Isometry::translation(-shift, 0.0), ); - joints.insert(&mut bodies, parent_handle, child_handle, joint); + joints.insert(parent_handle, child_handle, joint); } body_handles.push(child_handle); |
