Module crayon::math::aabb
[−]
[src]
Axis-aligned bounding boxes
An AABB is a geometric object which encompasses a set of points and is not rotated. It is either a rectangle or a rectangular prism (depending on the dimension) where the slope of every line is either 0 or undefined. These are useful for very cheap collision detection.
Structs
Aabb2 |
A two-dimensional AABB, aka a rectangle. |
Aabb3 |
A three-dimensional AABB, aka a rectangular prism. |
Traits
MinMax |
Compute the minimum/maximum of the given values |