MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / SolveHingeJointSystem

Method SolveHingeJointSystem

src/systems/SolveHingeJointSystem.cpp:37–45  ·  view source on GitHub ↗

Constructor

Source from the content-addressed store, hash-verified

35
36// Constructor
37SolveHingeJointSystem::SolveHingeJointSystem(PhysicsWorld& world, RigidBodyComponents& rigidBodyComponents,
38 TransformComponents& transformComponents,
39 JointComponents& jointComponents,
40 HingeJointComponents& hingeJointComponents)
41 :mWorld(world), mRigidBodyComponents(rigidBodyComponents), mTransformComponents(transformComponents),
42 mJointComponents(jointComponents), mHingeJointComponents(hingeJointComponents),
43 mTimeStep(0), mIsWarmStartingActive(true) {
44
45}
46
47// Initialize before solving the constraint
48void SolveHingeJointSystem::initBeforeSolve() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected