Struct ncollide::narrow_phase::DefaultProximityDispatcher
[−]
[src]
pub struct DefaultProximityDispatcher<P, M> where
P: Point, { /* fields omitted */ }
Proximity dispatcher for shapes defined by ncollide_entities
.
Methods
impl<P, M> DefaultProximityDispatcher<P, M> where
P: Point,
[src]
P: Point,
fn new() -> DefaultProximityDispatcher<P, M>
Creates a new basic proximity dispatcher.
Trait Implementations
impl<P, M> ProximityDispatcher<P, M> for DefaultProximityDispatcher<P, M> where
M: Isometry<P>,
P: Point,
[src]
M: Isometry<P>,
P: Point,
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.