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

Function getPrimitives

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

Source from the content-addressed store, hash-verified

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; }
349

Callers 7

SqAABBTree.cppFile · 0.70
renderIndicesMethod · 0.50
renderVerticesMethod · 0.50
renderIndicesMethod · 0.50
renderVerticesMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected