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

Method AddData

physx/source/lowlevelaabb/src/BpBroadPhaseSapAux.h:211–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

209 PX_NOINLINE void Resize(PxcScratchAllocator* scratchAllocator);
210
211 PX_FORCE_INLINE void AddData(const PxU32 data, PxcScratchAllocator* scratchAllocator)
212 {
213 if(mSize==mCapacity)
214 Resize(scratchAllocator);
215
216 PX_ASSERT(mSize<mCapacity);
217 mData[mSize++] = BpHandle(data);
218 }
219};
220
221void addPair(const BpHandle id0, const BpHandle id1, PxcScratchAllocator* scratchAllocator, SapPairManager& pairManager, DataArray& dataArray);

Callers 2

addPairFunction · 0.80
removePairFunction · 0.80

Calls 1

ResizeFunction · 0.85

Tested by

no test coverage detected