[][src]Trait collide_tree::BoundBox

pub trait BoundBox: Sized + Clone {
    pub fn split(&self) -> (Self, Self);
pub fn hits(&self, b: &Self) -> bool; }

Required methods

pub fn split(&self) -> (Self, Self)[src]

Split the box in half somehow, normally this should vary in direction

pub fn hits(&self, b: &Self) -> bool[src]

Test if one box collides with another.

Loading content...

Implementors

impl<T: BNum> BoundBox for Bounds<T>[src]

Loading content...