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

Method clear

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{

Callers 15

setForcesToDefaultsMethod · 0.45
syncBoundsMethod · 0.45
processPendingUpdatesMethod · 0.45
prepareCollideMethod · 0.45
updateCCDMultiPassMethod · 0.45
postSolverMethod · 0.45
finalizationPhaseMethod · 0.45
processLostTouchPairsMethod · 0.45
beforeSolverMethod · 0.45
ScScene.cppFile · 0.45

Calls 1

PxMemZeroFunction · 0.85

Tested by

no test coverage detected