Trait ncollide::narrow_phase::ProximityDispatcher
[−]
[src]
pub trait ProximityDispatcher<P, M> where
P: Point, { fn get_proximity_algorithm(
&self,
a: &(Shape<P, M> + 'static),
b: &(Shape<P, M> + 'static)
) -> Option<Box<ProximityDetector<P, M> + 'static>>; }
Required Methods
fn get_proximity_algorithm(
&self,
a: &(Shape<P, M> + 'static),
b: &(Shape<P, M> + 'static)
) -> Option<Box<ProximityDetector<P, M> + 'static>>
&self,
a: &(Shape<P, M> + 'static),
b: &(Shape<P, M> + 'static)
) -> Option<Box<ProximityDetector<P, M> + 'static>>
Allocate a collision algorithm corresponding to the given pair of shapes.
Implementors
impl<P, M> ProximityDispatcher<P, M> for DefaultProximityDispatcher<P, M> where
M: Isometry<P>,
P: Point,