pub trait Spatial<S> {
    fn aabb(&self) -> EuclidRect<f32, S>;
}
Expand description

An object that has a bounding box.

Implementing this trait is not required, but can make insertions easier.

Required methods

Returns the boudning box for the object.

Implementations on Foreign Types

Implementors