cpConstraint * cpRatchetJointNew(cpBody *a, cpBody *b, cpFloat phase, cpFloat ratchet) { return (cpConstraint *)cpRatchetJointInit(cpRatchetJointAlloc(), a, b, phase, ratchet); }
void wrRatchetJointInit(cpFloat phase, cpFloat ratchet, cpRatchetJoint* joint, cpBody* a, cpBody* b) { cpRatchetJointInit(joint, a, b, phase, ratchet); }