Exposes oriented bounding box functionality. More...
#include
Public Member Functions | |
OBB_tpl () | |
Default OBB constructor (without initialisation). | |
ILINE void | SetOBB (const Matrix33 &matrix, const Vec3 &hlv, const Vec3 ¢er) |
ILINE void | SetOBBfromAABB (const Matrix33 &mat33, const AABB &aabb) |
ILINE void | SetOBBfromAABB (const Quat &q, const AABB &aabb) |
Static Public Member Functions | |
static ILINE OBB_tpl< F > | CreateOBB (const Matrix33 &m33, const Vec3 &hlv, const Vec3 ¢er) |
static ILINE OBB_tpl< F > | CreateOBBfromAABB (const Matrix33 &m33, const AABB &aabb) |
static ILINE OBB_tpl< F > | CreateOBBfromAABB (const Quat &q, const AABB &aabb) |
Public Attributes | |
Matrix33 | m33 |
Orientation vectors. | |
Vec3 | h |
Half-length-vector. | |
Vec3 | c |
Center of obb. | |
Exposes oriented bounding box functionality.
< Calculate the half-length-vectors.
< The center is relative to the PIVOT.