MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / collectGarbage

Method collectGarbage

Engine/source/collision/convex.cpp:371–381  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369//----------------------------------------------------------------------------
370
371void Convex::collectGarbage()
372{
373 // Delete unreferenced Convex Objects
374 for (Convex* itr = mNext; itr != this; itr = itr->mNext) {
375 if (itr->mReference.rLink.mNext == &itr->mReference) {
376 Convex* ptr = itr;
377 itr = itr->mPrev;
378 delete ptr;
379 }
380 }
381}
382
383void Convex::nukeList()
384{

Callers 13

buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80
buildConvexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected