ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_REVOLUTE_JOINT_H__ 00002 #define __B2_REVOLUTE_JOINT_H__ 00003 00005 void b2RevoluteJoint_GetAnchorA(b2RevoluteJoint *joint, VECTOR *outAnchorA); 00006 00008 void b2RevoluteJoint_GetAnchorB(b2RevoluteJoint *joint, VECTOR *outAnchorB); 00009 00011 void b2RevoluteJoint_GetReactionForce(b2RevoluteJoint *joint, var inv_dt, VECTOR *outReactionForce); 00012 00014 var b2RevoluteJoint_GetReactionTorque(b2RevoluteJoint *joint, var inv_dt); 00015 00017 var b2RevoluteJoint_GetJointAngle(b2RevoluteJoint *joint); 00018 00020 var b2RevoluteJoint_GetJointSpeed(b2RevoluteJoint *joint); 00021 00023 var b2RevoluteJoint_IsLimitEnabled(b2RevoluteJoint *joint); 00024 00026 void b2RevoluteJoint_EnableLimit(b2RevoluteJoint *joint, var flag); 00027 00029 var b2RevoluteJoint_GetLowerLimit(b2RevoluteJoint *joint); 00030 00032 var b2RevoluteJoint_GetUpperLimit(b2RevoluteJoint *joint); 00033 00035 void b2RevoluteJoint_SetLimits(b2RevoluteJoint *joint, var lower, var upper); 00036 00038 var b2RevoluteJoint_IsMotorEnabled(b2RevoluteJoint *joint); 00039 00041 void b2RevoluteJoint_EnableMotor(b2RevoluteJoint *joint, var flag); 00042 00044 void b2RevoluteJoint_SetMotorSpeed(b2RevoluteJoint *joint, var speed); 00045 00047 var b2RevoluteJoint_GetMotorSpeed(b2RevoluteJoint *joint); 00048 00050 void b2RevoluteJoint_SetMaxMotorTorque(b2RevoluteJoint *joint, var torque); 00051 00053 var b2RevoluteJoint_GetMotorTorque(b2RevoluteJoint *joint); 00054 00055 #endif // __B2_REVOLUTE_JOINT_H__