27 const cpConstraintClass *cpDampedRotarySpringGetClass(
void);
30 typedef struct cpDampedRotarySpring {
35 cpDampedRotarySpringTorqueFunc springTorqueFunc;
42 } cpDampedRotarySpring;
51 CP_DefineConstraintProperty(cpDampedRotarySpring,
cpFloat, restAngle, RestAngle)
52 CP_DefineConstraintProperty(cpDampedRotarySpring,
cpFloat, stiffness, Stiffness)
53 CP_DefineConstraintProperty(cpDampedRotarySpring, cpFloat, damping, Damping)
54 CP_DefineConstraintProperty(cpDampedRotarySpring, cpDampedRotarySpringTorqueFunc, springTorqueFunc, SpringTorqueFunc)