Axis-aligned bounding box for collision testing. More...
#include <gelCollision.h>
Public Member Functions | |
GelAABB () | |
Default constructor. | |
GelAABB (Gel2dVec minpos, Gel2dVec maxpos) | |
Convenience constructor. | |
Public Attributes | |
Gel2dVec | min |
Gel2dVec | max |
Axis-aligned bounding box for collision testing.
gel::GelAABB::GelAABB | ( | ) | [inline] |
Default constructor.
Sets the box's minimum position to (0, 0), and its maximum to (1, 1).
Convenience constructor.
minpos | : The box's minimum position. |
maxpos | : The box's maximum position. |
API Documentation by Mark D. Procarione | Generated by |