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

Method resize

physx/source/common/src/CmBlockArray.h:89–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 }
88
89 void resize(PxU32 size)
90 {
91 reserve(size);
92 for (PxU32 a = mSize; a < size; ++a)
93 {
94 mBlocks[a / mSlabSize][a%mSlabSize] = T();
95 }
96 mSize = size;
97 }
98
99 void forceSize_Unsafe(PxU32 size)
100 {

Callers 3

preallocateFunction · 0.45
extendFunction · 0.45
~BlockArrayMethod · 0.45

Calls 1

TFunction · 0.85

Tested by

no test coverage detected