aboutsummaryrefslogtreecommitdiff
path: root/benchmarks2d/joint_prismatic2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks2d/joint_prismatic2.rs')
-rw-r--r--benchmarks2d/joint_prismatic2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks2d/joint_prismatic2.rs b/benchmarks2d/joint_prismatic2.rs
index 0cbf859..c2b4bf3 100644
--- a/benchmarks2d/joint_prismatic2.rs
+++ b/benchmarks2d/joint_prismatic2.rs
@@ -51,7 +51,7 @@ pub fn init_world(testbed: &mut Testbed) {
prism.limits_enabled = true;
prism.limits[0] = -1.5;
prism.limits[1] = 1.5;
- joints.insert(&mut bodies, curr_parent, curr_child, prism);
+ joints.insert(curr_parent, curr_child, prism);
curr_parent = curr_child;
}