ackb2d 0.9
3D Gamestudio Box 2d Wraper
|
Go to the source code of this file.
Defines | |
#define | b2GearJointDef_SetBodyA(def, body) b2JointDef_SetBodyA(def, body) |
Set Body A. | |
#define | b2GearJointDef_SetBodyB(def, body) b2JointDef_SetBodyB(def, body) |
Set Body B. | |
Functions | |
b2GearJointDef * | b2GearJointDef_Create () |
Create b2GearJoint. | |
void | b2GearJointDef_Destroy (b2GearJointDef *def) |
void | b2GearJointDef_SetJoint1 (b2GearJointDef *def, b2Joint *joint1) |
b2Joint * | b2GearJointDef_GetJoint1 (b2GearJointDef *def) |
void | b2GearJointDef_SetJoint2 (b2GearJointDef *def, b2Joint *joint2) |
void | b2GearJointDef_SetRatio (b2GearJointDef *def, var ratio) |
var | b2GearJointDef_GetRatio (b2GearJointDef *def) |
#define b2GearJointDef_SetBodyA | ( | def, | |
body | |||
) | b2JointDef_SetBodyA(def, body) |
Set Body A.
def | The b2JointDef |
body | The body |
Definition at line 43 of file b2GearJointDef.h.
#define b2GearJointDef_SetBodyB | ( | def, | |
body | |||
) | b2JointDef_SetBodyB(def, body) |
Set Body B.
def | The b2JointDef |
body | The body |
Definition at line 49 of file b2GearJointDef.h.
b2GearJointDef* b2GearJointDef_Create | ( | ) |
Create b2GearJoint.
void b2GearJointDef_Destroy | ( | b2GearJointDef * | def | ) |
Destroy b2GearJoint
def | the joint definition. |
b2Joint * b2GearJointDef_GetJoint1 | ( | b2GearJointDef * | def | ) |
Get the first revolute/prismatic joint attached to the gear joint.
def | the joint definition |
Get the second revolute/prismatic joint attached to the gear joint.
def | the joint definition |
var b2GearJointDef_GetRatio | ( | b2GearJointDef * | def | ) |
Get the second revolute/prismatic joint attached to the gear joint.
def | the joint definition |
void b2GearJointDef_SetJoint1 | ( | b2GearJointDef * | def, |
b2Joint * | joint1 | ||
) |
Set the first revolute/prismatic joint attached to the gear joint.
def | the joint definition |
joint1 | the first joint |
void b2GearJointDef_SetJoint2 | ( | b2GearJointDef * | def, |
b2Joint * | joint2 | ||
) |
Set the second revolute/prismatic joint attached to the gear joint.
def | the joint definition |
joint1 | the first joint |
void b2GearJointDef_SetRatio | ( | b2GearJointDef * | def, |
var | ratio | ||
) |
Set the gear ratio.
def | the joint definition |
joint1 | the first joint |