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

Method substep

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

Source from the content-addressed store, hash-verified

153
154
155void MultiThreadStepper::substep(StepperTask& completionTask)
156{
157 // setup any tasks that should run in parallel to simulate()
158 mSample->onSubstepSetup(mSubStepSize, &completionTask);
159
160 // step
161 {
162 mSimulateTask.setContinuation(&completionTask);
163 mSimulateTask.removeReference();
164 }
165 // parallel sample tasks are started in mSolveTask (after solve was called which acquires a write lock).
166}
167
168void FixedStepper::substepStrategy(const PxReal stepSize, PxU32& substepCount, PxReal& substepSize)
169{

Callers

nothing calls this directly

Calls 3

setContinuationMethod · 0.80
onSubstepSetupMethod · 0.45
removeReferenceMethod · 0.45

Tested by

no test coverage detected