aboutsummaryrefslogtreecommitdiff
path: root/benchmarks2d
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-01-02 17:43:38 +0100
committerSébastien Crozet <developer@crozet.re>2022-01-02 17:43:38 +0100
commit9f9d3293605fa84555c08bec5efe68a71cd18432 (patch)
treeccbaf613fa2bb37487015bfe51e6918bd2ca8c39 /benchmarks2d
parent90edb4b53242fc24ecb666bebc593638ee0ff7fe (diff)
downloadrapier-9f9d3293605fa84555c08bec5efe68a71cd18432.tar.gz
rapier-9f9d3293605fa84555c08bec5efe68a71cd18432.tar.bz2
rapier-9f9d3293605fa84555c08bec5efe68a71cd18432.zip
Fix tests
Diffstat (limited to 'benchmarks2d')
-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 4733088..20d423e 100644
--- a/benchmarks2d/joint_prismatic2.rs
+++ b/benchmarks2d/joint_prismatic2.rs
@@ -47,7 +47,7 @@ pub fn init_world(testbed: &mut Testbed) {
UnitVector::new_normalize(vector![-1.0, 1.0])
};
- let mut prism = PrismaticJoint::new(axis)
+ let prism = PrismaticJoint::new(axis)
.local_anchor2(point![0.0, shift])
.limit_axis([-1.5, 1.5]);
impulse_joints.insert(curr_parent, curr_child, prism);