feat!: rename narrow-phase methods for more clarity.

Renames `contacts_with` to`contact_pairs_with`; and `intersections_with` to `intersection_pairs_with`.
This commit is contained in:
Sébastien Crozet
2024-01-24 22:51:30 +01:00
parent 5bf3983894
commit 46b244167c
2 changed files with 20 additions and 8 deletions

View File

@@ -203,7 +203,7 @@ impl IslandManager {
stack: &mut Vec<RigidBodyHandle>,
) {
for collider_handle in &rb_colliders.0 {
for inter in narrow_phase.contacts_with(*collider_handle) {
for inter in narrow_phase.contact_pairs_with(*collider_handle) {
for manifold in &inter.manifolds {
if !manifold.data.solver_contacts.is_empty() {
let other = crate::utils::select_other(