- _initModuleCtor_cpDampedRotarySpring
void _initModuleCtor_cpDampedRotarySpring()
Undocumented in source. Be warned that the author may not have intended to support it.
- applyCachedImpulse
void applyCachedImpulse(cpDampedRotarySpring* spring, cpFloat dt_coef)
Undocumented in source. Be warned that the author may not have intended to support it.
- applyImpulse
void applyImpulse(cpDampedRotarySpring* spring, cpFloat dt)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpDampedRotarySpringAlloc
cpDampedRotarySpring* cpDampedRotarySpringAlloc()
Allocate a damped rotary spring.
- cpDampedRotarySpringAlloc
cpDampedRotarySpring* cpDampedRotarySpringAlloc()
Undocumented in source. Be warned that the author may not have intended to support it.
- cpDampedRotarySpringGetClass
const(cpConstraintClass*) cpDampedRotarySpringGetClass()
Undocumented in source. Be warned that the author may not have intended to support it.
- cpDampedRotarySpringInit
cpDampedRotarySpring* cpDampedRotarySpringInit(cpDampedRotarySpring* joint, cpBody* a, cpBody* b, cpFloat restAngle, cpFloat stiffness, cpFloat damping)
Initialize a damped rotary spring.
- cpDampedRotarySpringInit
cpDampedRotarySpring* cpDampedRotarySpringInit(cpDampedRotarySpring* spring, cpBody* a, cpBody* b, cpFloat restAngle, cpFloat stiffness, cpFloat damping)
Undocumented in source. Be warned that the author may not have intended to support it.
- cpDampedRotarySpringNew
cpConstraint* cpDampedRotarySpringNew(cpBody* a, cpBody* b, cpFloat restAngle, cpFloat stiffness, cpFloat damping)
Allocate and initialize a damped rotary spring.
- cpDampedRotarySpringNew
cpConstraint* cpDampedRotarySpringNew(cpBody* a, cpBody* b, cpFloat restAngle, cpFloat stiffness, cpFloat damping)
Undocumented in source. Be warned that the author may not have intended to support it.
- defaultSpringTorque
cpFloat defaultSpringTorque(cpDampedRotarySpring* spring, cpFloat relativeAngle)
Undocumented in source. Be warned that the author may not have intended to support it.
- getImpulse
cpFloat getImpulse(cpDampedRotarySpring* spring)
Undocumented in source. Be warned that the author may not have intended to support it.
- preStep
void preStep(cpDampedRotarySpring* spring, cpFloat dt)
Undocumented in source. Be warned that the author may not have intended to support it.