{
const T aNodeSize = BVH::VecComp<T, N>::Get (theBVH->MaxPoint (theNode), anAxis) -
BVH::VecComp<T, N>::Get (theBVH->MinPoint (theNode), anAxis);
- if (aNodeSize <= THE_NODE_MIN_SIZE)
+ if (aNodeSize <= BVH::THE_NODE_MIN_SIZE)
{
continue;
}
}
}
+ delete [] aLftSet;
+ delete [] aRghSet;
+
if (aMinSplitAxis == -1)
{
return;