cpConstraint * cpDampedRotarySpringNew(cpBody *a, cpBody *b, cpFloat restAngle, cpFloat stiffness, cpFloat damping) { return (cpConstraint *)cpDampedRotarySpringInit(cpDampedRotarySpringAlloc(), a, b, restAngle, stiffness, damping); }
void wrDampedRotarySpringInit(cpFloat restAngle, cpFloat stiffness, cpFloat damping, cpDampedRotarySpring *joint, cpBody *a, cpBody *b) { cpDampedRotarySpringInit(joint, a, b, restAngle, stiffness, damping); }