|
| | AABB () |
| | Default constructor initializing an empty AABB.
|
| | AABB (const glm::vec3 &min, const glm::vec3 &max) |
| | Parameterized constructor.
|
| glm::vec3 | get_center () const |
| | Get the center point of the AABB.
|
| glm::vec3 | get_extents () const |
| | Get the extents of the AABB.
|
| AABB | transform (const glm::mat4 &matrix) const |
| | Transform the AABB with a matrix.
|
| void | expand (const glm::vec3 &point) |
| | Expand the AABB to include a point.
|
| void | merge (const AABB &other) |
| | Merge the AABB with another AABB.
|
Axis-Aligned Bounding Box (AABB) structure.
Represents a 3D bounding box defined by minimum and maximum corner points. Provides methods for transformations, expansion, and merging with other AABBs.