|
Chipmunk2D Pro API Reference
7.0.2
|
Functions | |
| CP_EXPORT cpBool | cpConstraintIsRotaryLimitJoint (const cpConstraint *constraint) |
| Check if a constraint is a damped rotary springs. | |
| CP_EXPORT cpRotaryLimitJoint * | cpRotaryLimitJointAlloc (void) |
| Allocate a damped rotary limit joint. | |
| CP_EXPORT cpRotaryLimitJoint * | cpRotaryLimitJointInit (cpRotaryLimitJoint *joint, cpBody *a, cpBody *b, cpFloat min, cpFloat max) |
| Initialize a damped rotary limit joint. | |
| CP_EXPORT cpConstraint * | cpRotaryLimitJointNew (cpBody *a, cpBody *b, cpFloat min, cpFloat max) |
| Allocate and initialize a damped rotary limit joint. | |
| CP_EXPORT cpFloat | cpRotaryLimitJointGetMin (const cpConstraint *constraint) |
| Get the minimum distance the joint will maintain between the two anchors. | |
| CP_EXPORT void | cpRotaryLimitJointSetMin (cpConstraint *constraint, cpFloat min) |
| Set the minimum distance the joint will maintain between the two anchors. | |
| CP_EXPORT cpFloat | cpRotaryLimitJointGetMax (const cpConstraint *constraint) |
| Get the maximum distance the joint will maintain between the two anchors. | |
| CP_EXPORT void | cpRotaryLimitJointSetMax (cpConstraint *constraint, cpFloat max) |
| Set the maximum distance the joint will maintain between the two anchors. | |
1.8.3.1