Skip to content

Commit

Permalink
removed s from has_any_active_contacts to unify api with rapier
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrixyz committed Jun 6, 2024
1 parent 0110ee9 commit 179d03b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down
2 changes: 1 addition & 1 deletion src/plugin/narrow_phase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 179d03b

Please sign in to comment.