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

Function getNbPrimitives

physx/source/scenequery/src/SqAABBTree.cpp:345–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

343}
344
345static PX_FORCE_INLINE PxU32 getNbPrimitives(PxU32 data) { return (data>>1)&15; }
346static PX_FORCE_INLINE const PxU32* getPrimitives(const PxU32* base, PxU32 data) { return base + (data>>5); }
347static PX_FORCE_INLINE const AABBTreeRuntimeNode* getPos(const AABBTreeRuntimeNode* base, PxU32 data) { return base + (data>>1); }
348static PX_FORCE_INLINE PxU32 isLeaf(PxU32 data) { return data&1; }

Callers 1

SqAABBTree.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected