ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_PRISMATIC_JOINT_DEF_H__ 00002 #define __B2_PRISMATIC_JOINT_DEF_H__ 00003 00004 00006 b2PrismaticJointDef *b2PrismaticJointDef_Create(); 00007 00009 void b2PrismaticJointDef_Destroy(b2PrismaticJointDef *def); 00010 00013 void b2PrismaticJointDef_Initialize(b2PrismaticJointDef *def, b2Body* bodyA, b2Body* bodyB, const VECTOR *anchor, const VECTOR *axis); 00014 00017 void b2PrismaticJointDef_SetLocalAnchorA(b2PrismaticJointDef *def, const VECTOR *localAnchor); 00018 00021 void b2PrismaticJointDef_GetLocalAnchorA(b2PrismaticJointDef *def, VECTOR *outLocalAnchor); 00022 00025 void b2PrismaticJointDef_SetLocalAnchorB(b2PrismaticJointDef *def, const VECTOR *localAnchor); 00026 00029 void b2PrismaticJointDef_GetLocalAnchorB(b2PrismaticJointDef *def, VECTOR *outLocalAnchor); 00030 00033 void b2PrismaticJointDef_SetLocalAxis1(b2PrismaticJointDef *def, const VECTOR *localAxis); 00034 00037 void b2PrismaticJointDef_GetLocalAxis1(b2PrismaticJointDef *def, VECTOR *outLocalAxis); 00038 00041 void b2PrismaticJointDef_SetReferenceAngle(b2PrismaticJointDef *def, var referenceAngle); 00042 00045 var b2PrismaticJointDef_GetReferenceAngle(b2PrismaticJointDef *def); 00046 00048 void b2PrismaticJointDef_SetEnableLimit(b2PrismaticJointDef *def, var enableLimit); 00049 00051 var b2PrismaticJointDef_GetEnableLimit(b2PrismaticJointDef *def); 00052 00054 void b2PrismaticJointDef_SetLowerTranslation(b2PrismaticJointDef *def, var lowerTranslation); 00055 00057 var b2PrismaticJointDef_GetLowerTranslation(b2PrismaticJointDef *def); 00058 00060 void b2PrismaticJointDef_SetUpperTranslation(b2PrismaticJointDef *def, var upperTranslation); 00061 00063 var b2PrismaticJointDef_GetUpperTranslation(b2PrismaticJointDef *def); 00064 00066 void b2PrismaticJointDef_SetEnableMotor(b2PrismaticJointDef *def, var enableMotor); 00067 00069 var b2PrismaticJointDef_GetEnableMotor(b2PrismaticJointDef *def); 00070 00072 void b2PrismaticJointDef_SetMaxMotorForce(b2PrismaticJointDef *def, var maxMotorForce); 00073 00075 var b2PrismaticJointDef_GetMaxMotorForce(b2PrismaticJointDef *def); 00076 00078 void b2PrismaticJointDef_SetMotorSpeed(b2PrismaticJointDef *def, var motorSpeed); 00079 00081 var b2PrismaticJointDef_GetMotorSpeed(b2PrismaticJointDef *def); 00082 00083 #endif // __B2_PRISMATIC_JOINT_DEF_H__