pub trait HasBoundingVolume<N: RealField + Copy, BV> {
// Required method
fn bounding_volume(&self, m: &Isometry<N>) -> BV;
// Provided method
fn local_bounding_volume(&self) -> BV { ... }
}
Expand description
Traits of objects having a bounding volume.
Required Methods§
Sourcefn 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§
Sourcefn local_bounding_volume(&self) -> BV
fn local_bounding_volume(&self) -> BV
The bounding volume of self
.