|
|
cpBool | cpConstraintIsGrooveJoint (const cpConstraint *constraint) |
| | Check if a constraint is a slide joint.
|
| |
|
cpGrooveJoint * | cpGrooveJointAlloc (void) |
| | Allocate a groove joint.
|
| |
|
cpGrooveJoint * | cpGrooveJointInit (cpGrooveJoint *joint, cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchorB) |
| | Initialize a groove joint.
|
| |
|
cpConstraint * | cpGrooveJointNew (cpBody *a, cpBody *b, cpVect groove_a, cpVect groove_b, cpVect anchorB) |
| | Allocate and initialize a groove joint.
|
| |
|
cpVect | cpGrooveJointGetGrooveA (const cpConstraint *constraint) |
| | Get the first endpoint of the groove relative to the first body.
|
| |
|
void | cpGrooveJointSetGrooveA (cpConstraint *constraint, cpVect grooveA) |
| | Set the first endpoint of the groove relative to the first body.
|
| |
|
cpVect | cpGrooveJointGetGrooveB (const cpConstraint *constraint) |
| | Get the first endpoint of the groove relative to the first body.
|
| |
|
void | cpGrooveJointSetGrooveB (cpConstraint *constraint, cpVect grooveB) |
| | Set the first endpoint of the groove relative to the first body.
|
| |
|
cpVect | cpGrooveJointGetAnchorB (const cpConstraint *constraint) |
| | Get the location of the second anchor relative to the second body.
|
| |
|
void | cpGrooveJointSetAnchorB (cpConstraint *constraint, cpVect anchorB) |
| | Set the location of the second anchor relative to the second body.
|
| |