Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
preallocate
Function · 0.45
extend
Function · 0.45
~BlockArray
Method · 0.45
Calls
1
T
Function · 0.85
Tested by
no test coverage detected