Trait ncollide3d::pipeline::broad_phase::BroadPhaseInterferenceHandler[][src]

pub trait BroadPhaseInterferenceHandler<T> {
    fn is_interference_allowed(&mut self, data1: &T, data2: &T) -> bool;
fn interference_started(&mut self, data1: &T, data2: &T);
fn interference_stopped(&mut self, data1: &T, data2: &T); }

Proximity handling for BroadPhase updates.

Required methods

fn is_interference_allowed(&mut self, data1: &T, data2: &T) -> bool[src]

A pre-filter that may cheaply discard objects before checking for bounding volume interference.

fn interference_started(&mut self, data1: &T, data2: &T)[src]

Handle a starting interference.

fn interference_stopped(&mut self, data1: &T, data2: &T)[src]

Handle a stopping interference.

Loading content...

Implementors

Loading content...