aboutsummaryrefslogtreecommitdiff
path: root/benchmarks3d/joint_revolute3.rs
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2022-05-31 10:22:28 +0200
committerGitHub <noreply@github.com>2022-05-31 10:22:28 +0200
commitfb1bfc762c89cd8c5bd745a82998c1662a1bf196 (patch)
tree0ece4f99d458f47f1408c78f79b85345036d3671 /benchmarks3d/joint_revolute3.rs
parentc630635e57624385123b4a0fb658018bc6fdba91 (diff)
parent0640f5e660aef579a9e6b134b7066e9bcae32b8b (diff)
downloadrapier-fb1bfc762c89cd8c5bd745a82998c1662a1bf196.tar.gz
rapier-fb1bfc762c89cd8c5bd745a82998c1662a1bf196.tar.bz2
rapier-fb1bfc762c89cd8c5bd745a82998c1662a1bf196.zip
Merge pull request #334 from dimforge/fixes
Some CCD and debug-render improvements
Diffstat (limited to 'benchmarks3d/joint_revolute3.rs')
-rw-r--r--benchmarks3d/joint_revolute3.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/benchmarks3d/joint_revolute3.rs b/benchmarks3d/joint_revolute3.rs
index 779248a..d434515 100644
--- a/benchmarks3d/joint_revolute3.rs
+++ b/benchmarks3d/joint_revolute3.rs
@@ -55,10 +55,10 @@ pub fn init_world(testbed: &mut Testbed) {
RevoluteJointBuilder::new(x).local_anchor2(point![shift, 0.0, 0.0]),
];
- impulse_joints.insert(curr_parent, handles[0], revs[0]);
- impulse_joints.insert(handles[0], handles[1], revs[1]);
- impulse_joints.insert(handles[1], handles[2], revs[2]);
- impulse_joints.insert(handles[2], handles[3], revs[3]);
+ impulse_joints.insert(curr_parent, handles[0], revs[0], true);
+ impulse_joints.insert(handles[0], handles[1], revs[1], true);
+ impulse_joints.insert(handles[1], handles[2], revs[2], true);
+ impulse_joints.insert(handles[2], handles[3], revs[3], true);
curr_parent = handles[3];
}