From 179d03b03bc53f87ed2e58d76d7bca1a7d18c33a Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Thu, 6 Jun 2024 10:36:28 +0200 Subject: [PATCH] removed `s` from `has_any_active_contacts` to unify api with rapier --- CHANGELOG.md | 4 ++++ src/plugin/narrow_phase.rs | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bf80c2fa..3c2fe847 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Modified + +- Renamed `has_any_active_contacts` to `has_any_active_contact` for better consistency with rapier. + ### Added - Derive `Debug` for `LockedAxes`. diff --git a/src/plugin/narrow_phase.rs b/src/plugin/narrow_phase.rs index 8e6162c7..0642f83a 100644 --- a/src/plugin/narrow_phase.rs +++ b/src/plugin/narrow_phase.rs @@ -337,7 +337,7 @@ impl<'a> ContactPairView<'a> { } /// Is there any active contact in this contact pair? - pub fn has_any_active_contacts(&self) -> bool { + pub fn has_any_active_contact(&self) -> bool { self.raw.has_any_active_contact }