aboutsummaryrefslogtreecommitdiff
path: root/benchmarks3d/joint_fixed3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks3d/joint_fixed3.rs')
-rw-r--r--benchmarks3d/joint_fixed3.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks3d/joint_fixed3.rs b/benchmarks3d/joint_fixed3.rs
index 5647dde..3d1e317 100644
--- a/benchmarks3d/joint_fixed3.rs
+++ b/benchmarks3d/joint_fixed3.rs
@@ -53,7 +53,7 @@ pub fn init_world(testbed: &mut Testbed) {
Isometry::identity(),
Isometry::translation(0.0, 0.0, -shift),
);
- joints.insert(&mut bodies, parent_handle, child_handle, joint);
+ joints.insert(parent_handle, child_handle, joint);
}
// Horizontal joint.
@@ -64,7 +64,7 @@ pub fn init_world(testbed: &mut Testbed) {
Isometry::identity(),
Isometry::translation(-shift, 0.0, 0.0),
);
- joints.insert(&mut bodies, parent_handle, child_handle, joint);
+ joints.insert(parent_handle, child_handle, joint);
}
body_handles.push(child_handle);