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

Method resize

physx/source/foundation/include/PsArray.h:637–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

635
636template <class T, class Alloc>
637PX_NOINLINE void Array<T, Alloc>::resize(const uint32_t size, const T& a)
638{
639 reserve(size);
640 create(mData + mSize, mData + size, a);
641 destroy(mData + size, mData + mSize);
642 mSize = size;
643}
644
645template <class T, class Alloc>
646template <class A>

Callers 15

onContactMethod · 0.45
onContactMethod · 0.45
updateContactPairsFunction · 0.45
onContactMethod · 0.45
resizeControllerMethod · 0.45
serializeMethod · 0.45
resizeControllerMethod · 0.45
getFramePoseMethod · 0.45
bindToCharacterMethod · 0.45
computeNewPositionsMethod · 0.45
captureScreenMethod · 0.45

Calls 2

createFunction · 0.85
destroyFunction · 0.85

Tested by

no test coverage detected