pub trait Spatial<S> { // Required method fn aabb(&self) -> TypedRect<f32, S>; }
An object that has a bounding box.
Implementing this trait is not required, but can make insertions easier.
Returns the boudning box for the object.