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