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

Functions

cpDampedSpring * cpDampedSpringAlloc (void)
 Allocate a damped spring.
 
cpDampedSpring * cpDampedSpringInit (cpDampedSpring *joint, cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2, cpFloat restLength, cpFloat stiffness, cpFloat damping)
 Initialize a damped spring.
 
cpConstraintcpDampedSpringNew (cpBody *a, cpBody *b, cpVect anchr1, cpVect anchr2, cpFloat restLength, cpFloat stiffness, cpFloat damping)
 Allocate and initialize a damped spring.
 

Detailed Description