[−][src]Trait oxygengine_physics_2d::prelude::ncollide2d::pipeline::narrow_phase::ProximityDispatcher
Required methods
fn get_proximity_algorithm(
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ProximityDetector<N> + 'static>>
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ProximityDetector<N> + 'static>>
Allocate a collision algorithm corresponding to the given pair of shapes.
Implementors
impl<N> ProximityDispatcher<N> for DefaultProximityDispatcher where
N: RealField,
[src]
N: RealField,
fn get_proximity_algorithm(
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ProximityDetector<N> + 'static>>
[src]
&self,
a: &(dyn Shape<N> + 'static),
b: &(dyn Shape<N> + 'static)
) -> Option<Box<dyn ProximityDetector<N> + 'static>>