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

Method items

utilities/olcUTIL_QuadTree.h:179–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 }
178
179 void items(std::list<pT>& listItems) const
180 {
181 // No questions asked, just return child items
182 for (const auto& p : m_pItems)
183 listItems.push_back(p.second);
184
185 for (int i = 0; i < 4; i++)
186 if (m_pChild[i]) m_pChild[i]->items(listItems);
187 }
188
189 void clear()
190 {

Callers 1

searchMethod · 0.80

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected