pub trait BoundingVolume<const D: usize> {
// Required method
fn aabb(&self, geometry: &Geometry) -> Option<Aabb<D>>;
}
Expand description
Compute a bounding volume for an object
pub trait BoundingVolume<const D: usize> {
// Required method
fn aabb(&self, geometry: &Geometry) -> Option<Aabb<D>>;
}
Compute a bounding volume for an object