Ejemplo n.º 1
0
 public void AddObject(T obj)
 {
     // special case for first object, create the root and add it
     if (root == null)
     {
         root = new OctreeNode <T>(center, half_width);
     }
     root.AddObject(obj);
 }