ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_LINE_JOINT_DEF_H__ 00002 #define __B2_LINE_JOINT_DEF_H__ 00003 00005 b2LineJointDef* b2LineJointDef_Create(); 00006 00009 void b2LineJointDef_Destroy(b2LineJointDef *def); 00010 00011 // Initialize the bodies, anchors, axis, and reference angle using the world 00013 void b2LineJointDef_Initialize(b2LineJointDef *def, b2Body* bodyA, b2Body* bodyB, const VECTOR *anchor, const VECTOR *axis); 00014 00016 void b2LineJointDef_SetLocalAnchorA(b2LineJointDef *def, VECTOR *localAnchor); 00017 00019 void b2LineJointDef_GetLocalAnchorA(b2LineJointDef *def, VECTOR *outLocalAnchor); 00020 00022 void b2LineJointDef_SetLocalAnchorB(b2LineJointDef *def, VECTOR *localAnchor); 00023 00025 void b2LineJointDef_GetLocalAnchorB(b2LineJointDef *def, VECTOR *outLocalAnchor); 00026 00028 void b2LineJointDef_SetLocalAnchorB(b2LineJointDef *def, VECTOR *localAnchor); 00029 00031 void b2LineJointDef_GetLocalAnchorB(b2LineJointDef *def, VECTOR *outLocalAxis); 00032 00034 void b2LineJointDef_SetEnableLimit(b2LineJointDef *def, var enableLimit); 00035 00037 var b2LineJointDef_GetEnableLimit(b2LineJointDef *def); 00038 00040 void b2LineJointDef_SetLowerTranslation(b2LineJointDef *def, var lowerTranslation); 00041 00043 var b2LineJointDef_GetLowerTranslation(b2LineJointDef *def); 00044 00046 void b2LineJointDef_SetUpperTranslation(b2LineJointDef *def, var upperTranslation); 00047 00049 var b2LineJointDef_GetUpperTranslation(b2LineJointDef *def); 00050 00052 void b2LineJointDef_SetEnableMotor(b2LineJointDef *def, var enableMotor); 00053 00055 var b2LineJointDef_GetEnableMotor(b2LineJointDef *def); 00056 00058 void b2LineJointDef_SetMaxMotorForce(b2LineJointDef *def, var maxMotorForce); 00059 00061 var b2LineJointDef_GetMaxMotorForce(b2LineJointDef *def); 00062 00064 void b2LineJointDef_MotorSpeed(b2LineJointDef *def, var motorSpeed); 00065 00067 var b2LineJointDef_GetMotorSpeed(b2LineJointDef *def); 00068 00069 #endif // __B2_LINE_JOINT_DEF_H__