cpDampedSpring


Vocabulary
chipmunk.ffi

Definition


STRUCT: cpDampedSpring
{
constraint cpConstraint initial: S{ cpConstraint
{ klass f }
{ a f }
{ b f }
{ maxForce 0.0 }
{ biasCoef 0.0 }
{ maxBias 0.0 }
{ data f }
}
} { anchr1 cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ anchr2 cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ restLength cpFloat initial: 0.0 }
{ stiffness cpFloat initial: 0.0 }
{ damping cpFloat initial: 0.0 }
{ springForceFunc cpDampedSpringForceFunc }
{ dt cpFloat initial: 0.0 }
{ target_vrn cpFloat initial: 0.0 }
{ r1 cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ r2 cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } }
{ nMass cpFloat initial: 0.0 }
{ n cpVect initial: S{ cpVect { x 0.0 } { y 0.0 } } } ;


Methods