From b3a00b4123c85d047b5ab6b89d4d500cc2b92ba6 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sat, 23 Mar 2024 14:47:05 +0100 Subject: feat: add the DefaultBroadPhase type alias --- src/geometry/mod.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/geometry') diff --git a/src/geometry/mod.rs b/src/geometry/mod.rs index 565f9a3..5d2fb2f 100644 --- a/src/geometry/mod.rs +++ b/src/geometry/mod.rs @@ -49,10 +49,12 @@ pub type Aabb = parry::bounding_volume::Aabb; pub type Ray = parry::query::Ray; /// The intersection between a ray and a collider. pub type RayIntersection = parry::query::RayIntersection; -/// The the projection of a point on a collider. +/// The projection of a point on a collider. pub type PointProjection = parry::query::PointProjection; -/// The the time of impact between two shapes. +/// The time of impact between two shapes. pub type TOI = parry::query::TOI; +/// The default broad-phase implementation provided by Rapier. +pub type DefaultBroadPhase = BroadPhaseMultiSap; bitflags::bitflags! { /// Flags providing more information regarding a collision event. -- cgit