Trait ncollide3d::narrow_phase::ContactDispatcher [−][src]
pub trait ContactDispatcher<N>: Any + Send + Sync { fn get_contact_algorithm(
&self,
a: &Shape<N>,
b: &Shape<N>
) -> Option<ContactAlgorithm<N>>; }
Required Methods
fn get_contact_algorithm(
&self,
a: &Shape<N>,
b: &Shape<N>
) -> Option<ContactAlgorithm<N>>
&self,
a: &Shape<N>,
b: &Shape<N>
) -> Option<ContactAlgorithm<N>>
Allocate a collision algorithm corresponding to the given pair of shapes.
Implementors
impl<N: Real> ContactDispatcher<N> for DefaultContactDispatcher