ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
00001 #ifndef __B2_DISTANCE_JOINT_DEF_H__ 00002 #define __B2_DISTANCE_JOINT_DEF_H__ 00003 00005 b2DistanceJointDef* b2DistanceJointDef_Create(); 00006 00009 void b2DistanceJointDef_Destroy(b2DistanceJointDef *def); 00010 00013 void b2DistanceJointDef_Initialize(b2DistanceJointDef *def, b2Body* bodyA, b2Body* bodyB, 00014 const VECTOR *anchorA, const VECTOR *anchorB); 00015 00017 void b2DistanceJointDef_SetLocalAnchorA(b2DistanceJointDef *def, VECTOR *localAnchor); 00018 00020 void b2DistanceJointDef_GetLocalAnchorA(b2DistanceJointDef *def, VECTOR *outLocalAnchor); 00021 00023 void b2DistanceJointDef_SetLocalAnchorB(b2DistanceJointDef *def, VECTOR *localAnchor); 00024 00026 void b2DistanceJointDef_GetLocalAnchorB(b2DistanceJointDef *def, VECTOR *outLocalAnchor); 00027 00029 void b2DistanceJointDef_SetLength(b2DistanceJointDef *def, var length); 00030 00032 var b2DistanceJointDef_GetLength(b2DistanceJointDef *def); 00033 00035 void b2DistanceJointDef_SetFrequencyHz(b2DistanceJointDef *def, var frequencyHz); 00036 00038 var b2DistanceJointDef_GetFrequencyHz(b2DistanceJointDef *def); 00039 00041 void b2DistanceJointDef_SetDampingRatio(b2DistanceJointDef *def, var dampingRatio); 00042 00044 var b2DistanceJointDef_GetDampingRatio(b2DistanceJointDef *def); 00045 00046 #endif // __B2_DISTANCE_JOINT_DEF_H__