aboutsummaryrefslogtreecommitdiff
path: root/benchmarks2d/joint_prismatic2.rs
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-07-11 18:41:51 +0200
committerSébastien Crozet <sebastien@crozet.re>2021-07-11 19:21:50 +0200
commit77a6cd3f26525ce6b02b63b34cb68d3a8a444ee2 (patch)
treed7ad31295739f685a486d6653175630718a34760 /benchmarks2d/joint_prismatic2.rs
parent9233a855f0fd13e61c475b32117838af95fb4c93 (diff)
downloadrapier-0.10.0.tar.gz
rapier-0.10.0.tar.bz2
rapier-0.10.0.zip
Release v0.10.0v0.10.0
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;
}