|
NavMap
|
Node in a per-surface bounding volume hierarchy (BVH). More...
#include <NavMap.hpp>

Public Member Functions | |
| bool | is_leaf () const |
Public Attributes | |
| AABB | box |
| Bounding box of this node (world coordinates) | |
| int | count {0} |
| Number of primitives in leaf (0 for inner nodes) | |
| int | left {-1} |
| Left child index (or -1 for leaf) | |
| int | right {-1} |
| Right child index (or -1 for leaf) | |
| int | start {0} |
| Start index in primitive array (leaf only) | |
Node in a per-surface bounding volume hierarchy (BVH).
Leaves reference a compact range into the surface's primitive list.
| bool is_leaf | ( | ) | const |
| AABB box |
Bounding box of this node (world coordinates)
| int count {0} |
Number of primitives in leaf (0 for inner nodes)
| int left {-1} |
Left child index (or -1 for leaf)
| int right {-1} |
Right child index (or -1 for leaf)
| int start {0} |
Start index in primitive array (leaf only)