clear method

void clear()

Implementation

void clear() {
  _rootNode = QuadTreeNode<T>();
  _nodeLastId = 0;
  _hitboxAtNode.clear();
  _oldPositionByItem.clear();
}