ContactSolver.cpp File Reference

Go to the source code of this file.

Namespaces

 playrho
 
 playrho::d2
 
 playrho::GaussSeidel
 

Functions

ConstraintSolverConf playrho::GetRegConstraintSolverConf (const StepConf &conf) noexcept
 Gets the regular phase constraint solver configuration for the given step configuration. More...
 
ConstraintSolverConf playrho::GetToiConstraintSolverConf (const StepConf &conf) noexcept
 Gets the TOI phase constraint solver configuration for the given step configuration. More...
 
Momentum playrho::GaussSeidel::SolveVelocityConstraint (d2::VelocityConstraint &vc)
 
d2::PositionSolution playrho::GaussSeidel::SolvePositionConstraint (const d2::PositionConstraint &pc, const bool moveA, const bool moveB, ConstraintSolverConf conf)
 

Variable Documentation

◆ magnitude

Momentum magnitude

Magnitude.

Definition at line 60 of file ContactSolver.cpp.

◆ direction

UnitVec direction

Direction.

Definition at line 61 of file ContactSolver.cpp.