Octree.cpp
// Removes a cube from the specified position; true on success, false if out-of-bounds.
Removes a cube from the specified position; true on success, false if out-of-bounds.
Removes a cube from the specified position ; true on success false if out - of - bounds .
bool Octree::DeleteCube(double x, double y, double z)
{
    if (!InLimits(x, y, z))
    {
        return false;
    }
    RecursiveAddDeleteCube(-limits/2, -limits/2, -limits/2, limits/2, limits/2, limits/2, x, y, z, pRootNode, false);
    return true;
}
bool Octree :: DeleteCube ( double x , double y , double z ) { if ( ! InLimits ( x , y , z ) ) { return false ; } RecursiveAddDeleteCube ( - limits / 2 , - limits / 2 , - limits / 2 , limits / 2 , limits / 2 , limits / 2 , x , y , z , pRootNode , false ) ; return true ; }
Removes a cube from the specified position; true on success, false if out-of-bounds.
Removes a cube from the specified position ; true on success false if out - of - bounds .