ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2PulleyJointDef.h

Go to the documentation of this file.
00001 #ifndef __B2_PULLEY_JOINT_DEF_H__
00002 #define __B2_PULLEY_JOINT_DEF_H__
00003 
00005 b2PulleyJointDef *b2PulleyJointDef_Create();
00006 
00008 void b2PulleyJointDef_Destroy(b2PulleyJointDef *def);
00009 
00011 void b2PulleyJointDef_Initialize(b2PulleyJointDef *def, b2Body* bodyA, b2Body* bodyB,
00012                                 const VECTOR *groundAnchorA, const VECTOR *groundAnchorB,
00013                                 const VECTOR *anchorA, const VECTOR *anchorB,
00014                                 var ratio);
00015 
00017 void b2PulleyJointDef_SetGroundAnchorA(b2PulleyJointDef *def, const VECTOR *groundAnchorA);
00018 
00020 void b2PulleyJointDef_GetGroundAnchorA(b2PulleyJointDef *def, VECTOR *outGroundAnchorA);
00021 
00023 void b2PulleyJointDef_SetGroundAnchorB(b2PulleyJointDef *def, const VECTOR *groundAnchorB);
00024 
00026 void b2PulleyJointDef_GetGroundAnchorB(b2PulleyJointDef *def, VECTOR *outGroundAnchorB);
00027 
00029 void b2PulleyJointDef_SetLocalAnchorA(b2PulleyJointDef *def, const VECTOR *localAnchorA);
00030 
00032 void b2PulleyJointDef_GetlocalAnchorA(b2PulleyJointDef *def, VECTOR *outLocalAnchorA);
00033 
00035 void b2PulleyJointDef_SetLocalAnchorB(b2PulleyJointDef *def, const VECTOR *localAnchorB);
00036 
00038 void b2PulleyJointDef_GetlocalAnchorB(b2PulleyJointDef *def, VECTOR *outLocalAnchorB);
00039 
00041 void b2PulleyJointDef_SetLengthA(b2PulleyJointDef *def, var lengthA);
00042 
00044 var b2PulleyJointDef_GetLengthA(b2PulleyJointDef *def);
00045 
00047 void b2PulleyJointDef_SetMaxLengthA(b2PulleyJointDef *def, var maxLengthA);
00048 
00050 var b2PulleyJointDef_GetMaxLengthA(b2PulleyJointDef *def);
00051 
00053 void b2PulleyJointDef_SetLengthB(b2PulleyJointDef *def, var lengthB);
00054 
00056 var b2PulleyJointDef_GetLengthB(b2PulleyJointDef *def);
00057 
00059 void b2PulleyJointDef_SetMaxLengthB(b2PulleyJointDef *def, var maxLengthB);
00060 
00062 var b2PulleyJointDef_GeMaxLengthB(b2PulleyJointDef *def);
00063 
00065 void b2PulleyJointDef_SetRatio(b2PulleyJointDef *def, var ratio);
00066 
00068 var b2PulleyJointDef_GetRatio(b2PulleyJointDef *def);
00069 
00070 #endif // __B2_PULLEY_JOINT_DEF_H__
 All Data Structures Files Functions Variables Typedefs Defines