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

Method wait

deps/physx/physx/samples/samplebase/SampleStepper.cpp:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void DebugStepper::wait(PxScene* scene)
48{
49 mSample->onSubstepPreFetchResult();
50 {
51 PxSceneWriteLock writeLock(*scene);
52 scene->fetchResults(true, NULL);
53 }
54 mSimulationTime = (PxReal)mTimer.getElapsedSeconds();
55 mSample->onSubstep(mStepSize);
56}
57
58void StepperTask::run()
59{

Callers 8

ThreadPoolMethod · 0.45
loaderThreadMethod · 0.45
PhysXSample.cppFile · 0.45
onTickPostRenderMethod · 0.45
SDL_CondWaitTimeoutFunction · 0.45
sendCommandMethod · 0.45
WaitMethod · 0.45

Calls 4

fetchResultsMethod · 0.80
getElapsedSecondsMethod · 0.45
onSubstepMethod · 0.45

Tested by

no test coverage detected