A node in the dynamic tree. More...
#include <types.h>

Data Fields | |
| b3AABB | aabb |
| The node bounding box. | |
| uint64_t | categoryBits |
| Category bits for collision filtering. | |
| union { | |
| b3TreeNodeChildren | children |
| Children (internal node). | |
| uint64_t | userData |
| User data (leaf node). | |
| }; | |
| union { | |
| int | parent |
| The node parent index (allocated node). | |
| int | next |
| The node freelist next index (free node). | |
| }; | |
| uint16_t | height |
| Height of the node. Leaves have a height of 0. | |
| uint16_t | flags |
A node in the dynamic tree.
This is private data placed here for performance reasons. todo test padding to 64 bytes to avoid straddling cache lines
| uint16_t b3TreeNode::flags |