MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / pop

Method pop

physx/source/scenequery/src/SqAABBTree.cpp:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57};
58
59bool Sq::FIFOStack::pop(AABBTreeBuildNode*& entry)
60{
61 const PxU32 NbEntries = mStack.size(); // Get current number of entries
62 if (!NbEntries)
63 return false; // Can be NULL when no value has been pushed. This is an invalid pop call.
64 entry = mStack[mCurIndex++]; // Get oldest entry, move to next one
65 if (mCurIndex == NbEntries)
66 {
67 // All values have been poped
68 mStack.clear();
69 mCurIndex = 0;
70 }
71 return true;
72}
73//~Progressive building
74
75void flatten(const NodeAllocator& nodeAllocator, AABBTreeRuntimeNode* dest)

Callers 15

displayNextItemFunction · 0.45
ltFunction · 0.45
jquery.jsFile · 0.45
qFunction · 0.45
doctools.jsFile · 0.45
bFunction · 0.45
gFunction · 0.45
byFunction · 0.45
aFunction · 0.45
getEntryMethod · 0.45
fetchTaskMethod · 0.45
destroyMethod · 0.45

Calls 2

sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected