MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / resize

Method resize

utilities/olcUTIL_QuadTree.h:263–266  ·  view source on GitHub ↗

Sets the spatial coverage area of teh quadtree

Source from the content-addressed store, hash-verified

261
262 // Sets the spatial coverage area of teh quadtree
263 void resize(const geom2d::rect<CTYPE>& rArea)
264 {
265 root.resize(rArea);
266 }
267
268 // Inserts an item into the quadtree
269 typename IQuadtreeContainer::iterator insert(const T& item, const geom2d::rect<CTYPE>& itemsize)

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected