Remove removes the given item from the quadtree
(item AABBer)
| 305 | |
| 306 | // Remove removes the given item from the quadtree |
| 307 | func (qt *Quadtree) Remove(item AABBer) { |
| 308 | bounds := item.AABB() |
| 309 | qt.root.Remove(item, bounds) |
| 310 | } |
| 311 | |
| 312 | // Retrieve returns all objects that could collide with the given bounding box |
| 313 | func (qt *quadtreeNode) Retrieve(pRect AABB) []AABBer { |