Chipmunk  6.0.3
Chipmunk API Reference for Kobold2D developers
cpRotaryLimitJoint

Data Structures

struct  cpRotaryLimitJoint

Functions

const cpConstraintClasscpRotaryLimitJointGetClass (void)
cpRotaryLimitJointcpRotaryLimitJointAlloc (void)
 Allocate a damped rotary limit joint.
cpRotaryLimitJointcpRotaryLimitJointInit (cpRotaryLimitJoint *joint, cpBody *a, cpBody *b, cpFloat min, cpFloat max)
 Initialize a damped rotary limit joint.
cpConstraintcpRotaryLimitJointNew (cpBody *a, cpBody *b, cpFloat min, cpFloat max)
 Allocate and initialize a damped rotary limit joint.
 CP_DefineConstraintProperty (cpRotaryLimitJoint, cpFloat, min, Min)
 CP_DefineConstraintProperty (cpRotaryLimitJoint, cpFloat, max, Max)

Function Documentation

CP_DefineConstraintProperty ( cpRotaryLimitJoint  ,
cpFloat  ,
min  ,
Min   
)
CP_DefineConstraintProperty ( cpRotaryLimitJoint  ,
cpFloat  ,
max  ,
Max   
)
cpRotaryLimitJoint* cpRotaryLimitJointAlloc ( void  )

Allocate a damped rotary limit joint.

const cpConstraintClass* cpRotaryLimitJointGetClass ( void  )
cpRotaryLimitJoint* cpRotaryLimitJointInit ( cpRotaryLimitJoint joint,
cpBody a,
cpBody b,
cpFloat  min,
cpFloat  max 
)

Initialize a damped rotary limit joint.

cpConstraint* cpRotaryLimitJointNew ( cpBody a,
cpBody b,
cpFloat  min,
cpFloat  max 
)

Allocate and initialize a damped rotary limit joint.