ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2Joint.h

Go to the documentation of this file.
00001 #ifndef __B2_JOINT_H__
00002 #define __B2_JOINT_H__
00003 
00005 var GetType(b2Joint *joint);
00006 
00008 b2Body* b2Joint_GetBodyA(b2Joint *joint);
00009 
00011 b2Body* b2Joint_GetBodyB(b2Joint *joint);
00012 
00014 void b2Joint_GetAnchorA(b2Joint *joint, VECTOR *outAnchorA);
00015 
00017 void b2Joint_GetAnchorB(b2Joint *joint, VECTOR *outAnchorB);
00018 
00020 void b2Joint_GetReactionForce(b2Joint *joint, var inv_dt, VECTOR *outReactionForce);
00021 
00023 var b2Joint_GetReactionTorque(b2Joint *joint, var inv_dt);
00024 
00026 b2Joint* b2Joint_GetNext(b2Joint *joint);
00027 
00029 void* b2Joint_GetUserData(b2Joint *joint);
00030 
00032 void b2Joint_SetUserData(b2Joint *joint, void* data);
00033 
00035 var b2Joint_IsActive(b2Joint *joint);
00036 
00037 #endif __B2_JOINT_H__
 All Data Structures Files Functions Variables Typedefs Defines