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

Function isLeaf

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

Source from the content-addressed store, hash-verified

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
350static PX_FORCE_INLINE void refitNode(AABBTreeRuntimeNode* PX_RESTRICT current, const PxBounds3* PX_RESTRICT boxes, const PxU32* PX_RESTRICT indices, AABBTreeRuntimeNode* PX_RESTRICT const nodeBase)
351{

Callers 1

SqAABBTree.cppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected