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