From 0fb4b4faefc59213b2731b9b3f7fa4bfde8212ba Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Fri, 18 Dec 2020 17:08:00 +0100 Subject: Use Isometry::inv_mul. --- src/geometry/narrow_phase.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/geometry') diff --git a/src/geometry/narrow_phase.rs b/src/geometry/narrow_phase.rs index 7ab641d..2b35898 100644 --- a/src/geometry/narrow_phase.rs +++ b/src/geometry/narrow_phase.rs @@ -438,7 +438,7 @@ impl NarrowPhase { } } - let pos12 = co1.position().inverse() * co2.position(); + let pos12 = co1.position().inv_mul(co2.position()); if let Ok(intersection) = query_dispatcher.intersection_test(&pos12, co1.shape(), co2.shape()) @@ -514,8 +514,8 @@ impl NarrowPhase { solver_flags.remove(SolverFlags::COMPUTE_IMPULSES); } - let pos12 = co1.position().inverse() * co2.position(); - query_dispatcher.contact_manifolds( + let pos12 = co1.position().inv_mul(co2.position()); + let _ = query_dispatcher.contact_manifolds( &pos12, co1.shape(), co2.shape(), -- cgit