src/public/octree.h
void Clear()
    {
        objects.Clear();

        while (nodes.Num() > 0)
        {
            nodes[0]->Clear();
            delete nodes[0];
            nodes.RemoveAtSwap(0);
        }
    }
// Remove all objects and nodes from the entire tree (including sub-trees)
Remove all objects and nodes from the entire tree (including sub-trees)
Remove all objects and nodes from the entire tree ( including sub - trees )
void Clear()
    {
        objects.Clear();
        while (nodes.Num() > 0)
        {
            nodes[0]->Clear();
            delete nodes[0];
            nodes.RemoveAtSwap(0);
        }
    }
void Clear ( ) { objects . Clear ( ) ; while ( nodes . Num ( ) > 0 ) { nodes [ 0 ] -> Clear ( ) ; delete nodes [ 0 ] ; nodes . RemoveAtSwap ( 0 ) ; } }
Remove all objects and nodes from the entire tree (including sub-trees)
Remove all objects and nodes from the entire tree ( including sub - trees )