From dc4bd24da869cfa8143c3ee9a98cdec662db289e Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Wed, 8 Jan 2025 17:16:34 +0100 Subject: Update to Parry 0.18 (#770) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * update to parry ~main * use traverse_depth_first * add example to test intersection * rely on upstream PR rather than local * re-enable profiler_ui for examples * rely on official parry repository * chore: switch back to the published version of parry * chore: update changelog * chore: remove dead code * fix compilation of rapier3d-meshloader and rapier3d-urdf * chore: cargo fmt --------- Co-authored-by: Sébastien Crozet --- examples3d/debug_trimesh3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples3d/debug_trimesh3.rs') diff --git a/examples3d/debug_trimesh3.rs b/examples3d/debug_trimesh3.rs index c588545..48a9bfd 100644 --- a/examples3d/debug_trimesh3.rs +++ b/examples3d/debug_trimesh3.rs @@ -48,7 +48,7 @@ pub fn init_world(testbed: &mut Testbed) { let rigid_body = RigidBodyBuilder::fixed().translation(vector![0.0, 0.0, 0.0]); let handle = bodies.insert(rigid_body); - let collider = ColliderBuilder::trimesh(vtx, idx); + let collider = ColliderBuilder::trimesh(vtx, idx).expect("Could not create trimesh collider."); colliders.insert_with_parent(collider, handle, &mut bodies); testbed.set_initial_body_color(handle, [0.3, 0.3, 0.3]); -- cgit