示例#1
0
 public static void Return(QuadTree <T> tree)
 {
     // clear now as it may contain reference-types
     tree.Clear();
     _treePool.Add(tree);
 }
 public ReadOnlyQuadTree(QuadTree <T> tree)
 {
     _tree = tree;
 }