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

Method clearAll

physx/source/lowlevelaabb/src/BpBroadPhaseABP.cpp:764–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762 PX_FORCE_INLINE void toggleBit(PxU32 bitNumber) { mBits[bitNumber>>5] ^= 1<<(bitNumber&31); }
763
764 PX_FORCE_INLINE void clearAll() { PxMemZero(mBits, mSize*4); }
765 PX_FORCE_INLINE void setAll() { PxMemSet(mBits, 0xff, mSize*4); }
766
767 // Data access

Callers 1

finalizeMethod · 0.45

Calls 1

PxMemZeroFunction · 0.85

Tested by

no test coverage detected