Octree.cpp
// Recursively deletes an octree node structure.
Recursively deletes an octree node structure.
Recursively deletes an octree node structure .
void Octree::RecursiveDelete(OctreeNode *pCurrentNode)
{
    if (pCurrentNode == nullptr)
    {
        return;
    }
    for (int i = 0; i < OCTANT_COUNT; i++)
    {
        RecursiveDelete(pCurrentNode->miniCubes[i]);
    }
}
void Octree :: RecursiveDelete ( OctreeNode * pCurrentNode ) { if ( pCurrentNode == nullptr ) { return ; } for ( int i = 0 ; i < OCTANT_COUNT ; i ++ ) { RecursiveDelete ( pCurrentNode -> miniCubes [ i ] ) ; } }
Recursively deletes an octree node structure.
Recursively deletes an octree node structure .