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

Method preallocate

physx/source/scenequery/src/SqCompoundPruningPool.cpp:178–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176///////////////////////////////////////////////////////////////////////////////////////////////
177
178void CompoundTreePool::preallocate(PxU32 newCapacity)
179{
180 if(newCapacity>mMaxNbObjects)
181 resize(newCapacity);
182}
183
184///////////////////////////////////////////////////////////////////////////////////////////////
185

Callers 1

addCompoundMethod · 0.45

Calls 1

resizeFunction · 0.85

Tested by

no test coverage detected