|
constexpr AngularMomentum | playrho::d2::GetAngularReaction (const FrictionJointConf &object) noexcept |
| Gets the current angular reaction for the given configuration.
|
|
FrictionJointConf | playrho::d2::GetFrictionJointConf (const Joint &joint) |
| Gets the definition data for the given joint. More...
|
|
FrictionJointConf | playrho::d2::GetFrictionJointConf (const World &world, BodyID bodyA, BodyID bodyB, const Length2 &anchor) |
| Gets the confguration for the given parameters. More...
|
|
constexpr Momentum2 | playrho::d2::GetLinearReaction (const FrictionJointConf &object) noexcept |
| Gets the current linear reaction for the given configuration.
|
|
constexpr auto | playrho::d2::GetMaxForce (const FrictionJointConf &object) noexcept |
| Free function for getting the max force value of the given configuration.
|
|
constexpr auto | playrho::d2::GetMaxTorque (const FrictionJointConf &object) noexcept |
| Free function for getting the max torque value of the given configuration.
|
|
void | playrho::d2::InitVelocity (FrictionJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step, const ConstraintSolverConf &conf) |
| Initializes velocity constraint data based on the given solver data. More...
|
|
constexpr bool | playrho::d2::operator!= (const FrictionJointConf &lhs, const FrictionJointConf &rhs) noexcept |
| Inequality operator.
|
|
constexpr bool | playrho::d2::operator== (const FrictionJointConf &lhs, const FrictionJointConf &rhs) noexcept |
| Equality operator.
|
|
constexpr void | playrho::d2::SetMaxForce (FrictionJointConf &object, NonNegative< Force > value) noexcept |
| Free function for setting the max force value of the given configuration.
|
|
constexpr auto | playrho::d2::SetMaxTorque (FrictionJointConf &object, NonNegative< Torque > value) noexcept |
| Free function for setting the max force value of the given configuration.
|
|
constexpr bool | playrho::d2::ShiftOrigin (FrictionJointConf &, Length2) noexcept |
| Shifts the origin notion of the given configuration.
|
|
bool | playrho::d2::SolvePosition (const FrictionJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf) |
| Solves the position constraint. More...
|
|
bool | playrho::d2::SolveVelocity (FrictionJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step) |
| Solves velocity constraint. More...
|
|
Definition of the FrictionJointConf
class and closely related code.