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

Function contains

physx/source/lowlevel/software/src/PxsIslandSim.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67#if PX_ENABLE_ASSERTS
68template <typename Thing>
69static bool contains(Ps::Array<Thing>& arr, const Thing& thing)
70{
71 for(PxU32 a = 0; a < arr.size(); ++a)
72 {
73 if(thing == arr[a])
74 return true;
75 }
76 return false;
77}
78#endif
79
80void IslandSim::resize(const PxU32 nbNodes, const PxU32 nbContactManagers, const PxU32 nbConstraints)

Callers 3

addConnectionMethod · 0.70
setKinematicMethod · 0.70
setDynamicMethod · 0.70

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected