b2GearJointDef Struct Reference

#include <b2GearJoint.h>

Inheritance diagram for b2GearJointDef:
b2JointDef

List of all members.

Public Member Functions

 b2GearJointDef ()

Public Attributes

b2Jointjoint1
 The first revolute/prismatic joint attached to the gear joint.
b2Jointjoint2
 The second revolute/prismatic joint attached to the gear joint.
float32 ratio

Detailed Description

Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work). The provided joints must attach a dynamic body to a static body.


Constructor & Destructor Documentation

b2GearJointDef::b2GearJointDef (  )  [inline]

Member Data Documentation

The first revolute/prismatic joint attached to the gear joint.

The second revolute/prismatic joint attached to the gear joint.

The gear ratio.

See also:
b2GearJoint for explanation.

The documentation for this struct was generated from the following file:
Generated on Sat Apr 3 18:18:09 2010 for Box2D by  doxygen 1.6.3