ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2LineJoint.h

Go to the documentation of this file.
00001 #ifndef __B2_LINE_JOINT_H__
00002 #define __B2_LINE_JOINT_H__
00003 
00005 void b2LineJoint_GetAnchorA(b2LineJoint *joint, VECTOR *outAnchor);
00006 
00008 void b2LineJoint_GetAnchorB(b2LineJoint *joint, VECTOR *outAnchor);
00009 
00011 void b2LineJoint_GetReactionForce(b2LineJoint *joint, var inv_dt, VECTOR *outReactionForce);
00012 
00014 var b2LineJoint_GetReactionTorque(b2LineJoint *joint, var inv_dt);
00015 
00017 var b2LineJoint_GetJointTranslation(b2LineJoint *joint);
00018 
00020 var b2LineJoint_GetJointSpeed(b2LineJoint *joint);
00021 
00023 var b2LineJoint_IsLimitEnabled(b2LineJoint *joint);
00024 
00026 void b2LineJoint_EnableLimit(b2LineJoint *joint, var flag);
00027 
00029 var b2LineJoint_GetLowerLimit(b2LineJoint *joint);
00030 
00032 var b2LineJoint_GetUpperLimit(b2LineJoint *joint);
00033 
00035 void b2LineJoint_SetLimits(b2LineJoint *joint, var lower, var upper);
00036 
00038 var b2LineJoint_IsMotorEnabled(b2LineJoint *joint);
00039 
00041 void b2LineJoint_EnableMotor(b2LineJoint *joint, var flag);
00042 
00044 void b2LineJoint_SetMotorSpeed(b2LineJoint *joint, var speed);
00045 
00047 var b2LineJoint_GetMotorSpeed(b2LineJoint *joint);
00048 
00050 void b2LineJoint_SetMaxMotorForce(b2LineJoint *joint, var force);
00051 
00053 var b2LineJoint_GetMaxMotorForce(b2LineJoint *joint);
00054 
00056 var b2LineJoint_GetMotorForce(b2LineJoint *joint);
00057 
00058 #endif // __B2_LINE_JOINT_H__
 All Data Structures Files Functions Variables Typedefs Defines