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

Method relocate

utilities/olcUTIL_QuadTree.h:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129 }
130
131 void relocate(pT item, const geom2d::rect<CTYPE>& rArea)
132 {
133 // Remove it
134 remove(item);
135
136 // Reinsert it with new location
137 insert(item, rArea);
138 }
139
140 size_t size() const
141 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected