ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2GearJoint.h File Reference

Go to the source code of this file.

Functions

void b2GearJoint_GetAnchorA (b2GearJoint *joint, VECTOR *outAnchor)
 Get anchorA.
void b2GearJoint_GetAnchorB (b2GearJoint *joint, VECTOR *outAnchor)
 Get anchorB.
void b2GearJoint_GetReactionForce (b2GearJoint *joint, var inv_dt, VECTOR *outReactionForce)
 Get reaction force.
var b2GearJoint_GetReactionTorque (b2GearJoint *joint, var inv_dt)
 Get reaction torque.
void b2GearJoint_SetRatio (b2GearJoint *joint, var ratio)
 Set the gear ratio.
var b2GearJoint_GetRatio (b2GearJoint *joint)
 Get the gear ratio.

Function Documentation

void b2GearJoint_GetAnchorA ( b2GearJoint joint,
VECTOR *  outAnchor 
)

Get anchorA.

void b2GearJoint_GetAnchorB ( b2GearJoint joint,
VECTOR *  outAnchor 
)

Get anchorB.

var b2GearJoint_GetRatio ( b2GearJoint joint)

Get the gear ratio.

void b2GearJoint_GetReactionForce ( b2GearJoint joint,
var  inv_dt,
VECTOR *  outReactionForce 
)

Get reaction force.

var b2GearJoint_GetReactionTorque ( b2GearJoint joint,
var  inv_dt 
)

Get reaction torque.

void b2GearJoint_SetRatio ( b2GearJoint joint,
var  ratio 
)

Set the gear ratio.

 All Data Structures Files Functions Variables Typedefs Defines