Function AABBTree.Move
void Move (
key | Key to the node to move |
|
bounds | New bounds of the node |
Moves a node to a new position.
This will update the tree structure to account for the new bounding box. This is equivalent to removing the node and adding it again with the new bounds, but it preserves the key value.