Struct ncollide::broad_phase::DBVTBroadPhase [] [src]

pub struct DBVTBroadPhase<P, BV, T> where
    P: Point
{ /* fields omitted */ }

Broad phase based on a Dynamic Bounding Volume Tree.

It uses two separate trees: one for static objects and which is never updated, and one for moving objects.

Methods

impl<P, BV, T> DBVTBroadPhase<P, BV, T> where
    BV: 'static + BoundingVolume<P> + Clone,
    P: Point
[src]

Creates a new broad phase based on a Dynamic Bounding Volume Tree.

Number of interferences detected by this broad phase.

Trait Implementations

impl<P, BV, T> BroadPhase<P, BV, T> for DBVTBroadPhase<P, BV, T> where
    BV: 'static + BoundingVolume<P> + RayCast<P, Id<Multiplicative>> + PointQuery<P, Id<Multiplicative>> + Clone,
    P: Point
[src]

Tells the broad phase to add an element during the next update.

Tells the broad phase to remove an element during the next update.

Updates the object additions, removals, and interferences detection.

Sets the next bounding volume to be used during the update of this broad phase.

Forces the broad-phase to recompute and re-report all the proximities.

Collects every object which might intersect a given bounding volume.

Collects every object which might intersect a given ray.

Collects every object which might contain a given point.