|
HPC_Voxel_Engine 0.2.0
High-Performance C++ Voxel Engine
|
Axis-Aligned Bounding Box for collision detection. Defined by a Minimum and Maximum point in 3D space. More...
#include <src/physics/AABB.h>

Public Member Functions | |
| AABB (const Core::Vec3 &ObjMinPt, const Core::Vec3 &ObjMaxPt) | |
| Constructs an AABB from two points. | |
| bool | CheckCollision (const AABB &Other) const |
| Checks intersection with another AABB. | |
| Core::Vec3 | GetCenter () const |
| Core::Vec3 | GetHalfExtents () const |
| void | Translate (const Core::Vec3 &offset) |
Public Attributes | |
| Core::Vec3 | m_objMinPt |
| Core::Vec3 | m_objMaxPt |
Axis-Aligned Bounding Box for collision detection. Defined by a Minimum and Maximum point in 3D space.
|
inline |
|
inline |
Checks intersection with another AABB.
|
inline |

|
inline |

|
inline |
| Core::Vec3 AABB::m_objMaxPt |
| Core::Vec3 AABB::m_objMinPt |