| 3443 | } |
| 3444 | |
| 3445 | void Sc::Scene::postSolver(PxBaseTask* continuation) |
| 3446 | { |
| 3447 | PX_PROFILE_ZONE("Sc::Scene::postSolver", getContextId()); |
| 3448 | PxcNpMemBlockPool& blockPool = mLLContext->getNpMemBlockPool(); |
| 3449 | |
| 3450 | //Merge... |
| 3451 | mDynamicsContext->mergeResults(); |
| 3452 | blockPool.releaseConstraintMemory(); |
| 3453 | //Swap friction! |
| 3454 | blockPool.swapFrictionStreams(); |
| 3455 | |
| 3456 | mCcdBodies.clear(); |
| 3457 | mProjectedBodies.clear(); |
| 3458 | |
| 3459 | #if PX_ENABLE_SIM_STATS |
| 3460 | mLLContext->getSimStats().mPeakConstraintBlockAllocations = blockPool.getPeakConstraintBlockCount(); |
| 3461 | #endif |
| 3462 | |
| 3463 | mConstraintProjection.setContinuation(continuation); |
| 3464 | |
| 3465 | integrateKinematicPose(); |
| 3466 | |
| 3467 | mConstraintProjection.removeReference(); |
| 3468 | |
| 3469 | //afterIntegration(continuation); |
| 3470 | } |
| 3471 | |
| 3472 | void Sc::Scene::postCCDPass(PxBaseTask* /*continuation*/) |
| 3473 | { |
nothing calls this directly
no test coverage detected