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

Method reset

physx/source/lowleveldynamics/src/DyThreadContext.cpp:90–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void ThreadContext::reset()
91{
92 // TODO: move these to the PxcNpThreadContext
93 mFrictionPatchStreamPair.reset();
94 mConstraintBlockStream.reset();
95
96 mContactDescPtr = contactConstraintDescArray;
97 mFrictionDescPtr = frictionConstraintDescArray.begin();
98
99 mAxisConstraintCount = 0;
100 mMaxSolverPositionIterations = 0;
101 mMaxSolverVelocityIterations = 0;
102 mNumDifferentBodyConstraints = 0;
103 mNumSelfConstraints = 0;
104 mSelfConstraintBlocks = NULL;
105 mNumSelfConstraintBlocks = 0;
106 mConstraintSize = 0;
107}
108
109}
110}

Callers 8

resetThreadContextsMethod · 0.45
BlockAllocatorClass · 0.45
runInternalMethod · 0.45
resetThreadContextsMethod · 0.45
runInternalMethod · 0.45
runInternalMethod · 0.45
runInternalMethod · 0.45

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected