Constructor
| 32 | |
| 33 | // Constructor |
| 34 | DynamicsSystem::DynamicsSystem(PhysicsWorld& world, BodyComponents& bodyComponents, RigidBodyComponents& rigidBodyComponents, |
| 35 | TransformComponents& transformComponents, ColliderComponents& colliderComponents, bool& isGravityEnabled, Vector3& gravity) |
| 36 | :mWorld(world), mBodyComponents(bodyComponents), mRigidBodyComponents(rigidBodyComponents), mTransformComponents(transformComponents), mColliderComponents(colliderComponents), |
| 37 | mIsGravityEnabled(isGravityEnabled), mGravity(gravity) { |
| 38 | |
| 39 | } |
| 40 | |
| 41 | // Integrate position and orientation of the rigid bodies. |
| 42 | /// The positions and orientations of the bodies are integrated using |
nothing calls this directly
no outgoing calls
no test coverage detected