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

Method nodeCount

physx/source/geomutils/src/mesh/GuRTree.cpp:147–154  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

145
146/////////////////////////////////////////////////////////////////////////
147PX_FORCE_INLINE PxU32 RTreePage::nodeCount() const
148{
149 for (int j = 0; j < RTREE_N; j ++)
150 if (minx[j] == MX)
151 return PxU32(j);
152
153 return RTREE_N;
154}
155
156/////////////////////////////////////////////////////////////////////////
157PX_FORCE_INLINE void RTreePage::clearNode(PxU32 nodeIndex)

Callers 2

validateRecursiveMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected