Nez.Portable/Physics/QuadTree/QuadTreeNode.cs
/// <summary>
/// Clears the QuadTree of all objects, including any objects living in its children.
/// </summary>
Clears the QuadTree of all objects, including any objects living in its children.
Clears the QuadTree of all objects including any objects living in its children .
internal void clear()
        {
            if (_childTL != null)
            {
                _childTL.clear();
                _childTR.clear();
                _childBL.clear();
                _childBR.clear();
            }
            if (_objects != null)
            {
                _objects.Clear();
                _objects = null;
            }
            _childTL = null;
            _childTR = null;
            _childBL = null;
            _childBR = null;
        }
internal void clear ( ) { if ( _childTL != null ) { _childTL . clear ( ) ; _childTR . clear ( ) ; _childBL . clear ( ) ; _childBR . clear ( ) ; } if ( _objects != null ) { _objects . Clear ( ) ; _objects = null ; } _childTL = null ; _childTR = null ; _childBL = null ; _childBR = null ; }
Clears the QuadTree of all objects, including any objects living in its children.
Clears the QuadTree of all objects including any objects living in its children .
// Clear out the children, if we have any // Clear any objects at this level // Set the children to null