|
group2 0.1.0
CSE 125 Group 2
|
Axis-aligned bounding box defined by half-extents from the entity's Position. More...
#include <CollisionShape.hpp>
Public Attributes | |
| glm::vec3 | halfExtents {16.0f, 36.0f, 16.0f} |
| AABB half-dimensions (units). | |
Axis-aligned bounding box defined by half-extents from the entity's Position.
The full bounding box spans [pos - halfExtents, pos + halfExtents].
Default is a standing player in Quake-ish units:
halfExtents.x/z = 16)halfExtents.y = 36) | glm::vec3 CollisionShape::halfExtents {16.0f, 36.0f, 16.0f} |
AABB half-dimensions (units).