Trait ncollide2d::bounding_volume::HasBoundingVolume
source · [−]pub trait HasBoundingVolume<N: RealField + Copy, BV> {
fn bounding_volume(&self, m: &Isometry<N>) -> BV;
fn local_bounding_volume(&self) -> BV { ... }
}
Expand description
Traits of objects having a bounding volume.
Required methods
fn bounding_volume(&self, m: &Isometry<N>) -> BV
fn bounding_volume(&self, m: &Isometry<N>) -> BV
The bounding volume of self
transformed by m
.
Provided methods
fn local_bounding_volume(&self) -> BV
fn local_bounding_volume(&self) -> BV
The bounding volume of self
.