Class AABBTree¶
-
class AABBTree¶
Public Functions
-
AABBTree() = default¶
-
~AABBTree()¶
-
void init(int capacity, float minMargin = 0.0f)¶
Initializes the tree with a given capacity and minimum margin for fattening AABBs.
- Parameters:
capacity – initial number of nodes to allocate; will grow as needed.
minMargin – absolute floor for the fattening margin; leave at 0 for static trees.
-
void destroy()¶
-
AABBTree() = default¶