Example #1
0
 public QuadTree()
 {
     root = new Node(null, new AABB(0,0,0,0), 0);
     minmax = new AABB(0,0,0,0);
     cols = new List<_collider>();
 }
Example #2
0
 public void MakeBound(AABB nbound)
 {
     if (cbound == null)
         cbound = new CAABB(nbound.x, nbound.y, nbound.w, nbound.h);
     else cbound.aabb = nbound;
 }