[][src]Trait ncollide2d::pipeline::narrow_phase::ProximityDispatcher

pub trait ProximityDispatcher<N>: Any + Send + Sync {
    fn get_proximity_algorithm(
        &self,
        a: &dyn Shape<N>,
        b: &dyn Shape<N>
    ) -> Option<ProximityAlgorithm<N>>; }

Required methods

fn get_proximity_algorithm(
    &self,
    a: &dyn Shape<N>,
    b: &dyn Shape<N>
) -> Option<ProximityAlgorithm<N>>

Allocate a collision algorithm corresponding to the given pair of shapes.

Loading content...

Implementors

impl<N: RealField> ProximityDispatcher<N> for DefaultProximityDispatcher[src]

Loading content...