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