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