[][src]Trait dinotree_alg::analyze::ColMulti

pub trait ColMulti {
    type T: Aabb;
    fn collide(&mut self, a: PMut<Self::T>, b: PMut<Self::T>);
}

Used for the advanced algorithms. Trait that user implements to handling aabb collisions. The user supplies a struct that implements this trait instead of just a closure so that the user may also have the struct implement Splitter.

Associated Types

type T: Aabb

Loading content...

Required methods

fn collide(&mut self, a: PMut<Self::T>, b: PMut<Self::T>)

Loading content...

Implementors

Loading content...