Trait rhusics::collide::broad::BroadPhase [] [src]

pub trait BroadPhase<A>: Send where
    A: HasBound
{ fn find_potentials(&mut self, shapes: &mut [A]) -> Vec<(usize, usize)>; }

Broad phase

Type parameters:

  • A: Shape type, must be able to return its bounding volume

Required Methods

Compute potential collider pairs

Implementations on Foreign Types

impl<A> BroadPhase<A> for BruteForce where
    A: HasBound,
    A::Bound: Discrete<A::Bound>, 
[src]

[src]

impl<A, V> BroadPhase<A> for SweepAndPrune<V> where
    A: HasBound,
    A::Bound: Discrete<A::Bound>,
    V: Variance<Bound = A::Bound> + Send
[src]

[src]

Implementors