|
void | reset () |
| Reset to negative-space state.
|
|
void | grow (const glm::vec3 &p) |
| Grow AABB to include point.
|
|
void | grow (const float p[3]) |
| Grow AABB to include point.
|
|
void | grow (const AABB &aabb) |
| Grow AABB to include another AABB.
|
|
glm::vec4 | getBoundingSphere () const |
| Mimimal bounding sphere that contains AABB.
|
|
AABB | operator+ (const glm::vec3 &v) |
|
AABB | post_transform (const glm::vec3 &T, const glm::mat3 &R) const |
|
AABB | post_transform (const glm::mat4 &M) const |
|
| operator bool () |
|
bool | intersect (const AABB &aabb) const |
|
void | split4_xz (AABB aabb[4]) |
| Split AABB into four in the xz-plane.
|
|
|
glm::vec3 | min |
|
glm::vec3 | max |
|
◆ post_transform()
AABB eeng::AABB::post_transform |
( |
const glm::vec3 & | T, |
|
|
const glm::mat3 & | R ) const |
|
inline |
AABB resulting from this AABB being rotated and translated. Based on Ericsson, Real-time Collision Detection, page 86.
The documentation for this struct was generated from the following file: