Chipmunk2D Pro API Reference  6.2.1
 All Classes Functions Variables Typedefs Properties Groups Pages
Classes | Functions
cpDampedRotarySpring

Functions

cpDampedRotarySpring * cpDampedRotarySpringAlloc (void)
 Allocate a damped rotary spring.
 
cpDampedRotarySpring * cpDampedRotarySpringInit (cpDampedRotarySpring *joint, cpBody *a, cpBody *b, cpFloat restAngle, cpFloat stiffness, cpFloat damping)
 Initialize a damped rotary spring.
 
cpConstraintcpDampedRotarySpringNew (cpBody *a, cpBody *b, cpFloat restAngle, cpFloat stiffness, cpFloat damping)
 Allocate and initialize a damped rotary spring.
 

Detailed Description