MCPcopy Index your code
hub / github.com/EngoEngine/engo / Remove

Method Remove

quadtree.go:307–310  ·  view source on GitHub ↗

Remove removes the given item from the quadtree

(item AABBer)

Source from the content-addressed store, hash-verified

305
306// Remove removes the given item from the quadtree
307func (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
313func (qt *quadtreeNode) Retrieve(pRect AABB) []AABBer {

Callers 1

RemoveMethod · 0.45

Calls 1

AABBMethod · 0.65

Tested by

no test coverage detected