MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / getNext

Method getNext

deps/physx/physx/source/common/src/CmBitMap.h:359–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357 }
358
359 PX_FORCE_INLINE PxU32 getNext()
360 {
361 PX_ASSERT(mIndex<mWordCount && mBlock != 0);
362 PxU32 result = PxU32(mIndex) << 5 | Ps::lowestSetBit(mBlock); // will assert if mask is zero
363 mBlock &= (mBlock - 1);
364 return result;
365 }
366
367 private:
368 const PxU32*const mMap;

Callers

nothing calls this directly

Calls 1

lowestSetBitFunction · 0.85

Tested by

no test coverage detected