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

Method advance

physx/samples/samplebase/SampleStepper.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33
34
35bool DebugStepper::advance(PxScene* scene, PxReal dt, void* scratchBlock, PxU32 scratchBlockSize)
36{
37 mTimer.getElapsedSeconds();
38
39 {
40 PxSceneWriteLock writeLock(*scene);
41 scene->simulate(mStepSize, NULL, scratchBlock, scratchBlockSize);
42 }
43
44 return true;
45}
46
47void DebugStepper::wait(PxScene* scene)
48{

Callers

nothing calls this directly

Calls 5

setContinuationMethod · 0.80
getElapsedSecondsMethod · 0.45
simulateMethod · 0.45
resetMethod · 0.45
getTaskManagerMethod · 0.45

Tested by

no test coverage detected