src/SpatialHash.cs
/// <summary>Removes all items and buckets from the tree</summary>
Removes all items and buckets from the tree
Removes all items and buckets from the tree
public void Clear() {
            foreach (var t in _hash.Values) {
                t.Clear();
                Pool<HashSet<T>>.Free(t);
            }
            _hash.Clear();
            _item.Clear();
        }
public void Clear ( ) { foreach ( var t in _hash . Values ) { t . Clear ( ) ; Pool < HashSet < T > > . Free ( t ) ; } _hash . Clear ( ) ; _item . Clear ( ) ; }
Removes all items and buckets from the tree
Removes all items and buckets from the tree