| 88 | } |
| 89 | |
| 90 | void 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 | } |
no test coverage detected