ContactSolver.cpp File Reference
#include <PlayRho/Dynamics/Contacts/ContactSolver.hpp>
#include <PlayRho/Collision/Collision.hpp>
#include <PlayRho/Collision/WorldManifold.hpp>
#include <PlayRho/Dynamics/Contacts/PositionSolverManifold.hpp>
#include <PlayRho/Dynamics/Contacts/VelocityConstraint.hpp>
#include <PlayRho/Dynamics/Contacts/PositionConstraint.hpp>
#include <PlayRho/Dynamics/StepConf.hpp>
#include <PlayRho/Common/OptionalValue.hpp>
#include <algorithm>
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.