19 #ifndef B2_REVOLUTE_JOINT_H
20 #define B2_REVOLUTE_JOINT_H
22 #include <Box2D/Dynamics/Joints/b2Joint.h>
39 type = e_revoluteJoint;
124 void SetLimits(float32 lower, float32 upper);
140 float32 GetMaxMotorTorque()
const {
return m_maxMotorTorque; }
164 void InitVelocityConstraints(
const b2SolverData& data);
165 void SolveVelocityConstraints(
const b2SolverData& data);
166 bool SolvePositionConstraints(
const b2SolverData& data);
172 float32 m_motorImpulse;
175 float32 m_maxMotorTorque;
176 float32 m_motorSpeed;
179 float32 m_referenceAngle;
180 float32 m_lowerAngle;
181 float32 m_upperAngle;
196 b2LimitState m_limitState;