Struct ncollide2d::narrow_phase::DefaultProximityDispatcher
[−]
[src]
pub struct DefaultProximityDispatcher {}
Proximity dispatcher for shapes defined by ncollide_entities
.
Methods
impl DefaultProximityDispatcher
[src]
pub fn new() -> DefaultProximityDispatcher
[src]
Creates a new basic proximity dispatcher.
Trait Implementations
impl<N: Real> ProximityDispatcher<N> for DefaultProximityDispatcher
[src]
fn get_proximity_algorithm(
&self,
a: &Shape<N>,
b: &Shape<N>
) -> Option<ProximityAlgorithm<N>>
[src]
&self,
a: &Shape<N>,
b: &Shape<N>
) -> Option<ProximityAlgorithm<N>>
Allocate a collision algorithm corresponding to the given pair of shapes.