Struct rhusics_core::BruteForce[][src]

pub struct BruteForce;

Broad phase collision detection brute force implementation.

Will simply do bounding box intersection tests for all shape combinations.

Methods

impl BruteForce
[src]

Important traits for Vec<u8>

Find all potentially colliding pairs of shapes.

Parameters

  • shapes: Shapes to do find potential collisions for

Returns

Returns tuples with the into the shapes list, of all potentially colliding pairs. The first value in the tuple will always be first in the list.

Trait Implementations

impl Debug for BruteForce
[src]

Formats the value using the given formatter. Read more

impl Default for BruteForce
[src]

Returns the "default value" for a type. Read more

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

Important traits for Vec<u8>

Compute potential collider pairs

Auto Trait Implementations

impl Send for BruteForce

impl Sync for BruteForce