aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/geometry/collider.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs
index bbea8b0..a9af8d1 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -38,7 +38,11 @@ impl Collider {
}
pub(crate) fn effective_contact_force_event_threshold(&self) -> Real {
- if self.flags.active_events.contains(ActiveEvents::CONTACT_FORCE_EVENTS) {
+ if self
+ .flags
+ .active_events
+ .contains(ActiveEvents::CONTACT_FORCE_EVENTS)
+ {
self.contact_force_event_threshold
} else {
Real::MAX