chore: update to the latest parry api
This commit is contained in:
committed by
Sébastien Crozet
parent
dbefeb0418
commit
7565e5e4ef
@@ -12,7 +12,7 @@ pub type BroadPhaseProxyIndex = u32;
|
||||
/// two objects don’t actually touch, but it is incorrect to remove a pair between two objects
|
||||
/// that are still touching. In other words, it can have false-positive (though these induce
|
||||
/// some computational overhead on the narrow-phase), but cannot have false-negative.
|
||||
pub trait BroadPhase {
|
||||
pub trait BroadPhase: Send + Sync + 'static {
|
||||
/// Updates the broad-phase.
|
||||
///
|
||||
/// The results must be output through the `events` struct. The broad-phase algorithm is only
|
||||
|
||||
@@ -51,8 +51,8 @@ pub type Ray = parry::query::Ray;
|
||||
pub type RayIntersection = parry::query::RayIntersection;
|
||||
/// The projection of a point on a collider.
|
||||
pub type PointProjection = parry::query::PointProjection;
|
||||
/// The time of impact between two shapes.
|
||||
pub type TOI = parry::query::TOI;
|
||||
/// The result of a shape-cast between two shapes.
|
||||
pub type ShapeCastHit = parry::query::ShapeCastHit;
|
||||
/// The default broad-phase implementation recommended for general-purpose usage.
|
||||
pub type DefaultBroadPhase = BroadPhaseMultiSap;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user