diff options
| author | Crozet Sébastien <developer@crozet.re> | 2021-07-11 18:41:51 +0200 |
|---|---|---|
| committer | Sébastien Crozet <sebastien@crozet.re> | 2021-07-11 19:21:50 +0200 |
| commit | 77a6cd3f26525ce6b02b63b34cb68d3a8a444ee2 (patch) | |
| tree | d7ad31295739f685a486d6653175630718a34760 /benchmarks3d/joint_revolute3.rs | |
| parent | 9233a855f0fd13e61c475b32117838af95fb4c93 (diff) | |
| download | rapier-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 'benchmarks3d/joint_revolute3.rs')
| -rw-r--r-- | benchmarks3d/joint_revolute3.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/benchmarks3d/joint_revolute3.rs b/benchmarks3d/joint_revolute3.rs index 7c0f6cb..d6dc06c 100644 --- a/benchmarks3d/joint_revolute3.rs +++ b/benchmarks3d/joint_revolute3.rs @@ -61,10 +61,10 @@ pub fn init_world(testbed: &mut Testbed) { RevoluteJoint::new(o, x, point![shift, 0.0, 0.0], x), ]; - joints.insert(&mut bodies, curr_parent, handles[0], revs[0]); - joints.insert(&mut bodies, handles[0], handles[1], revs[1]); - joints.insert(&mut bodies, handles[1], handles[2], revs[2]); - joints.insert(&mut bodies, handles[2], handles[3], revs[3]); + joints.insert(curr_parent, handles[0], revs[0]); + joints.insert(handles[0], handles[1], revs[1]); + joints.insert(handles[1], handles[2], revs[2]); + joints.insert(handles[2], handles[3], revs[3]); curr_parent = handles[3]; } |
