MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / clear

Method clear

deps/physx/physx/source/simulationcontroller/src/ScSimStats.cpp:43–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void Sc::SimStats::clear()
44{
45#if PX_ENABLE_SIM_STATS
46 PxMemZero(const_cast<void*>(reinterpret_cast<volatile void*>(&numTriggerPairs)), sizeof(TriggerPairCounts));
47 numBroadPhaseAddsPending = numBroadPhaseRemovesPending = 0;
48#endif
49}
50
51void Sc::SimStats::simStart()
52{

Calls 1

PxMemZeroFunction · 0.85

Tested by

no test coverage detected