Nameless Engine
|
#include <AABB.h>
Public Member Functions | |
bool | isBehindPlane (const Plane &plane) const |
Static Public Member Functions | |
static AABB | createFromVertices (std::vector< MeshVertex > *pVertices) |
Public Attributes | |
glm::vec3 | center = glm::vec3(0.0F, 0.0F, 0.0F) |
glm::vec3 | extents = glm::vec3(0.0F, 0.0F, 0.0F) |
Axis-aligned bounding box.
|
static |
bool ne::AABB::isBehindPlane | ( | const Plane & | plane | ) | const |
glm::vec3 ne::AABB::center = glm::vec3(0.0F, 0.0F, 0.0F) |
Center of the AABB in model space.
glm::vec3 ne::AABB::extents = glm::vec3(0.0F, 0.0F, 0.0F) |
Half extension (size) of the AABB in model space.