void MultiMap::clearBST(Node *cur) const { if (cur == nullptr) return; clearBST(cur->left); clearBST(cur->right); clearNodeList(cur); delete cur; }
void SceneGraph::clear() { clearNodeList(); clearRouteList(); }