Axis-aligned bounding box. More...
#include <BVHBuilder.h>
Public Member Functions | |
| void | expand (const AABB &other) |
| Expand AABB to include another AABB. | |
| float | surfaceArea () const |
| Compute surface area. | |
| helios::vec3 | centroid () const |
| Get centroid. | |
Data Fields | |
| helios::vec3 | min |
| helios::vec3 | max |
Axis-aligned bounding box.
Definition at line 88 of file BVHBuilder.h.
|
inline |
Get centroid.
Definition at line 115 of file BVHBuilder.h.
|
inline |
Expand AABB to include another AABB.
Definition at line 95 of file BVHBuilder.h.
|
inline |
Compute surface area.
Definition at line 107 of file BVHBuilder.h.
| helios::vec3 helios::AABB::max |
Definition at line 90 of file BVHBuilder.h.
| helios::vec3 helios::AABB::min |
Definition at line 89 of file BVHBuilder.h.