
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Oriented bounding box for collision testing. More...
#include <gelCollision.h>
Public Member Functions | |
| GelOBB () | |
| Default constructor. | |
| GelOBB (Gel2dVec _pos, Gel2dVec _extent) | |
| Convenience constructor. | |
Public Attributes | |
| Gel2dVec | pos |
| Gel2dVec | extent |
Oriented bounding box for collision testing.
| gel::GelOBB::GelOBB | ( | ) | [inline] |
Default constructor.
Sets the box's position to (0, 0), and its extent to (1, 1).
Convenience constructor.
| _pos | : The box's position. |
| _extent | : The box's horizontal and vertical extent from its center. |
API Documentation by Mark D. Procarione |
Generated by
![]() |