Struct ncollide3d::narrow_phase::CompositeShapeShapeProximityDetector [−][src]
pub struct CompositeShapeShapeProximityDetector<N> { /* fields omitted */ }
Proximity detector between a concave shape and another shape.
Methods
impl<N> CompositeShapeShapeProximityDetector<N>
[src]
impl<N> CompositeShapeShapeProximityDetector<N>
pub fn new(flip: bool) -> CompositeShapeShapeProximityDetector<N>
[src]
pub fn new(flip: bool) -> CompositeShapeShapeProximityDetector<N>
Creates a new proximity detector between a concave shape and another shape.
Trait Implementations
impl<N: Real> ProximityDetector<N> for CompositeShapeShapeProximityDetector<N>
[src]
impl<N: Real> ProximityDetector<N> for CompositeShapeShapeProximityDetector<N>
fn update(
&mut self,
dispatcher: &ProximityDispatcher<N>,
m1: &Isometry<N>,
g1: &Shape<N>,
m2: &Isometry<N>,
g2: &Shape<N>,
margin: N
) -> bool
[src]
fn update(
&mut self,
dispatcher: &ProximityDispatcher<N>,
m1: &Isometry<N>,
g1: &Shape<N>,
m2: &Isometry<N>,
g2: &Shape<N>,
margin: N
) -> bool
Runs the proximity detection on two objects. It is assumed that the same proximity detector (the same structure) is always used with the same pair of object. Read more
fn proximity(&self) -> Proximity
[src]
fn proximity(&self) -> Proximity
The number of collision detected during the last update.
Auto Trait Implementations
impl<N> Send for CompositeShapeShapeProximityDetector<N>
impl<N> Send for CompositeShapeShapeProximityDetector<N>
impl<N> Sync for CompositeShapeShapeProximityDetector<N>
impl<N> Sync for CompositeShapeShapeProximityDetector<N>