![]() |
CRM64Pro GDK v0.19.0
A free cross-platform game development kit built on top of SDL 3.0
|
Axis-aligned bounding box using half-open bounds [min, max). More...
Axis-aligned bounding box using half-open bounds [min, max).
Public Member Functions | |
| AABB () | |
| Construct an empty bounding box at the origin. | |
| AABB (float _minX, float _minY, float _maxX, float _maxY) | |
| Construct a bounding box from explicit half-open bounds. | |
|
inline |
Construct a bounding box from explicit half-open bounds.
| _minX | Inclusive lower bound on the X axis. |
| _minY | Inclusive lower bound on the Y axis. |
| _maxX | Exclusive upper bound on the X axis. |
| _maxY | Exclusive upper bound on the Y axis. |