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