struct
#include <Jazz2/Collisions/DynamicTree.h>
TreeNode Node in the dynamic tree.
The client does not interact with this directly.
Public functions
- auto IsLeaf() const -> bool
- Returns whether the node is leaf.
Public variables
- AABBf Aabb
- Enlarged AABB.
- void* UserData
- Opaque pointer to user-supplied data.
-
std::
int32_t Parent - Node ID of parent node.
-
std::
int32_t Next - Node ID of next node.
-
union Jazz2::
Collisions:: TreeNode None -
std::
int32_t Child1 - Node ID of the first child.
-
std::
int32_t Child2 - Node ID of the second child.
-
std::
int32_t Height - Height (leaf = 0, free node = -1)
- bool Moved
- Whether node has been moved.