|  | ReactPhysics3D
    v0.10.2
    C++ Physics engine library | 
This structure represents a node of the dynamic AABB tree. More...
#include <include/reactphysics3d/collision/broadphase/DynamicAABBTree.h>
| Public Member Functions | |
| TreeNode () | |
| Constructor. | |
| bool | isLeaf () const | 
| Return true if the node is a leaf of the tree. | |
| Public Attributes | ||
| union { | ||
| int32 parentID | ||
| Parent node ID. | ||
| int32 nextNodeID | ||
| Next allocated node ID. | ||
| }; | ||
| union { | ||
| int32 children [2] | ||
| Left and right child of the node (children[0] = left child) | ||
| union { | ||
| uint32 dataInt | ||
| void * dataPointer | ||
| } | ||
| Two pieces of data stored at that node (in case the node is a leaf) | ||
| }; | ||
| int16 | height | |
| Height of the node in the tree. | ||
| AABB | aabb | |
| Fat axis aligned bounding box (AABB) corresponding to the node. | ||
| Static Public Attributes | |
| static const int32 | NULL_TREE_NODE = -1 | 
| Null tree node constant. | |
This structure represents a node of the dynamic AABB tree.