public PCPlane GetUnusedCullingPlane()
{
PCPlane plane = null;
if ( mCullingPlaneReservoir.Count > 0 )
{
plane = mCullingPlaneReservoir[ 0 ];
mCullingPlaneReservoir.RemoveAt( 0 );
return plane;
}
// no available planes! create one
plane = new PCPlane();
return plane;
}