Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneLoneCoder/olcPixelGameEngine
/ clear
Method
clear
utilities/olcUTIL_QuadTree.h:189–200 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
187
}
188
189
void clear()
190
{
191
m_pItems.clear();
192
193
for (int i = 0; i < 4; i++)
194
{
195
if (m_pChild[i])
196
m_pChild[i]->clear();
197
else
198
m_pChild[i].reset();
199
}
200
}
201
202
void resize(const geom2d::rect<CTYPE>& rArea)
203
{
Callers
1
clear
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected