Struct ncollide2d::narrow_phase::BallBallProximityDetector [−][src]
pub struct BallBallProximityDetector { /* fields omitted */ }
Proximity detector between two balls.
Methods
impl BallBallProximityDetector
[src]
impl BallBallProximityDetector
pub fn new() -> BallBallProximityDetector
[src]
pub fn new() -> BallBallProximityDetector
Creates a new persistent collision detector between two balls.
Trait Implementations
impl Clone for BallBallProximityDetector
[src]
impl Clone for BallBallProximityDetector
fn clone(&self) -> BallBallProximityDetector
[src]
fn clone(&self) -> BallBallProximityDetector
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<N: Real> ProximityDetector<N> for BallBallProximityDetector
[src]
impl<N: Real> ProximityDetector<N> for BallBallProximityDetector
fn update(
&mut self,
_: &ProximityDispatcher<N>,
ma: &Isometry<N>,
a: &Shape<N>,
mb: &Isometry<N>,
b: &Shape<N>,
margin: N
) -> bool
[src]
fn update(
&mut self,
_: &ProximityDispatcher<N>,
ma: &Isometry<N>,
a: &Shape<N>,
mb: &Isometry<N>,
b: &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 Send for BallBallProximityDetector
impl Send for BallBallProximityDetector
impl Sync for BallBallProximityDetector
impl Sync for BallBallProximityDetector