From 1837d8f2b74c6db43925d3dc932f9a42f029b98f Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Wed, 24 Jan 2024 23:11:42 +0100 Subject: chore: fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pipeline/collision_pipeline.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pipeline/collision_pipeline.rs b/src/pipeline/collision_pipeline.rs index b086fbe..796cc84 100644 --- a/src/pipeline/collision_pipeline.rs +++ b/src/pipeline/collision_pipeline.rs @@ -210,7 +210,7 @@ mod tests { let mut hit = false; - for (_, _, intersecting) in narrow_phase.intersections_with(a_handle) { + for (_, _, intersecting) in narrow_phase.intersection_pairs_with(a_handle) { if intersecting { hit = true; } @@ -262,7 +262,7 @@ mod tests { let mut hit = false; - for (_, _, intersecting) in narrow_phase.intersections_with(a_handle) { + for (_, _, intersecting) in narrow_phase.intersection_pairs_with(a_handle) { if intersecting { hit = true; } -- cgit