|
constexpr AngularMomentum | playrho::d2::GetAngularReaction (const WeldJointConf &object) noexcept |
| Gets the current angular reaction of the given configuration.
|
|
constexpr Momentum2 | playrho::d2::GetLinearReaction (const WeldJointConf &object) noexcept |
| Gets the current linear reaction of the given configuration.
|
|
WeldJointConf | playrho::d2::GetWeldJointConf (const Joint &joint) |
| Gets the definition data for the given joint. More...
|
|
WeldJointConf | playrho::d2::GetWeldJointConf (const World &world, BodyID bodyA, BodyID bodyB, const Length2 &anchor=Length2{}) |
| Gets the configuration for the given parameters. More...
|
|
void | playrho::d2::InitVelocity (WeldJointConf &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 WeldJointConf &lhs, const WeldJointConf &rhs) noexcept |
| Inequality operator.
|
|
constexpr bool | playrho::d2::operator== (const WeldJointConf &lhs, const WeldJointConf &rhs) noexcept |
| Equality operator.
|
|
constexpr void | playrho::d2::SetDampingRatio (WeldJointConf &object, Real value) noexcept |
| Free function for setting the damping ratio of the given configuration.
|
|
constexpr void | playrho::d2::SetFrequency (WeldJointConf &object, NonNegative< Frequency > value) noexcept |
| Free function for setting the frequency of the given configuration.
|
|
constexpr auto | playrho::d2::ShiftOrigin (WeldJointConf &, const Length2 &) noexcept |
| Shifts the origin notion of the given configuration.
|
|
bool | playrho::d2::SolvePosition (const WeldJointConf &object, const Span< BodyConstraint > &bodies, const ConstraintSolverConf &conf) |
| Solves the position constraint. More...
|
|
bool | playrho::d2::SolveVelocity (WeldJointConf &object, const Span< BodyConstraint > &bodies, const StepConf &step) |
| Solves velocity constraint. More...
|
|
Definition of the WeldJointConf
class and closely related code.