| 545 | }; |
| 546 | |
| 547 | Sc::Scene::Scene(const PxSceneDesc& desc, PxU64 contextID) : |
| 548 | mContextId (contextID), |
| 549 | mActiveBodies (PX_DEBUG_EXP("sceneActiveBodies")), |
| 550 | mActiveKinematicBodyCount (0), |
| 551 | mPointerBlock8Pool (PX_DEBUG_EXP("scenePointerBlock8Pool")), |
| 552 | mPointerBlock16Pool (PX_DEBUG_EXP("scenePointerBlock16Pool")), |
| 553 | mPointerBlock32Pool (PX_DEBUG_EXP("scenePointerBlock32Pool")), |
| 554 | mLLContext (0), |
| 555 | mBodyGravityDirty (true), |
| 556 | mDt (0), |
| 557 | mOneOverDt (0), |
| 558 | mTimeStamp (1), // PT: has to start to 1 to fix determinism bug. I don't know why yet but it works. |
| 559 | mReportShapePairTimeStamp (0), |
| 560 | mTriggerBufferAPI (PX_DEBUG_EXP("sceneTriggerBufferAPI")), |
| 561 | mRemovedShapeCountAtSimStart (0), |
| 562 | mArticulations (PX_DEBUG_EXP("sceneArticulations")), |
| 563 | mBrokenConstraints (PX_DEBUG_EXP("sceneBrokenConstraints")), |
| 564 | mActiveBreakableConstraints (PX_DEBUG_EXP("sceneActiveBreakableConstraints")), |
| 565 | mMemBlock128Pool (PX_DEBUG_EXP("PxsContext ConstraintBlock128Pool")), |
| 566 | mMemBlock256Pool (PX_DEBUG_EXP("PxsContext ConstraintBlock256Pool")), |
| 567 | mMemBlock384Pool (PX_DEBUG_EXP("PxsContext ConstraintBlock384Pool")), |
| 568 | mNPhaseCore (NULL), |
| 569 | mKineKineFilteringMode (desc.kineKineFilteringMode), |
| 570 | mStaticKineFilteringMode (desc.staticKineFilteringMode), |
| 571 | mSleepBodies (PX_DEBUG_EXP("sceneSleepBodies")), |
| 572 | mWokeBodies (PX_DEBUG_EXP("sceneWokeBodies")), |
| 573 | mEnableStabilization (desc.flags & PxSceneFlag::eENABLE_STABILIZATION), |
| 574 | mClients (PX_DEBUG_EXP("sceneClients")), |
| 575 | mActiveActors (PX_DEBUG_EXP("clientActiveActors")), |
| 576 | mFrozenActors (PX_DEBUG_EXP("clientFrozenActors")), |
| 577 | mClientPosePreviewBodies (PX_DEBUG_EXP("clientPosePreviewBodies")), |
| 578 | mClientPosePreviewBuffer (PX_DEBUG_EXP("clientPosePreviewBuffer")), |
| 579 | mSimulationEventCallback (NULL), |
| 580 | mBroadPhaseCallback (NULL), |
| 581 | mInternalFlags (SceneInternalFlag::eSCENE_DEFAULT), |
| 582 | mPublicFlags (desc.flags), |
| 583 | mStaticAnchor (NULL), |
| 584 | mBatchRemoveState (NULL), |
| 585 | mLostTouchPairs (PX_DEBUG_EXP("sceneLostTouchPairs")), |
| 586 | mOutOfBoundsIDs (PX_DEBUG_EXP("sceneOutOfBoundsIds")), |
| 587 | mVisualizationScale (0.0f), |
| 588 | mVisualizationParameterChanged (false), |
| 589 | mNbRigidStatics (0), |
| 590 | mNbRigidDynamics (0), |
| 591 | mSecondPassNarrowPhase (contextID, this, "ScScene.secondPassNarrowPhase"), |
| 592 | mPostNarrowPhase (contextID, this, "ScScene.postNarrowPhase"), |
| 593 | mFinalizationPhase (contextID, this, "ScScene.finalizationPhase"), |
| 594 | mUpdateCCDMultiPass (contextID, this, "ScScene.updateCCDMultiPass"), |
| 595 | mAfterIntegration (contextID, this, "ScScene.afterIntegration"), |
| 596 | mConstraintProjection (contextID, this, "ScScene.constraintProjection"), |
| 597 | mPostSolver (contextID, this, "ScScene.postSolver"), |
| 598 | mSolver (contextID, this, "ScScene.rigidBodySolver"), |
| 599 | mUpdateBodiesAndShapes (contextID, this, "ScScene.updateBodiesAndShapes"), |
| 600 | mUpdateSimulationController (contextID, this, "ScScene.updateSimulationController"), |
| 601 | mUpdateDynamics (contextID, this, "ScScene.updateDynamics"), |
| 602 | mProcessLostContactsTask (contextID, this, "ScScene.processLostContact"), |
| 603 | mProcessLostContactsTask2 (contextID, this, "ScScene.processLostContact2"), |
| 604 | mProcessLostContactsTask3 (contextID, this, "ScScene.processLostContact3"), |
nothing calls this directly
no test coverage detected