[src]

Trait ncollide2df64::bounding_volume::LooseBoundingVolume

pub trait LooseBoundingVolume: BoundingVolume {
    fn loosen(&mut self, N);
    fn loosened(&self, N) -> Self;
}

Trait of loose bounding volume.

Loose bounding volumes are bounding volumes which can be enlarged (loosened). This is typically used to avoid any update on broad phases as long as the real bounding volume is inside of its loosened version.

Required Methods

fn loosen(&mut self, N)

Enlarges this bounding volume.

fn loosened(&self, N) -> Self

Creates a new, enlarged version, of this bounding volume.

Implementors