diff options
Diffstat (limited to 'benchmarks2d')
| -rw-r--r-- | benchmarks2d/joint_prismatic2.rs | 2 |
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); |
