dchip.cpDampedSpring

Undocumented in source.

Members

Aliases

cpDampedSpringForceFunc
alias cpDampedSpringForceFunc = cpFloat function(cpConstraint* spring, cpFloat dist)
Undocumented in source.

Functions

_initModuleCtor_cpDampedSpring
void _initModuleCtor_cpDampedSpring()
Undocumented in source. Be warned that the author may not have intended to support it.
applyCachedImpulse
void applyCachedImpulse(cpDampedSpring* spring, cpFloat dt_coef)
Undocumented in source. Be warned that the author may not have intended to support it.
applyImpulse
void applyImpulse(cpDampedSpring* spring, cpFloat dt)
Undocumented in source. Be warned that the author may not have intended to support it.
cpDampedSpringAlloc
cpDampedSpring* cpDampedSpringAlloc()
Undocumented in source. Be warned that the author may not have intended to support it.
cpDampedSpringGetClass
const(cpConstraintClass*) cpDampedSpringGetClass()
Undocumented in source. Be warned that the author may not have intended to support it.
cpDampedSpringInit
cpDampedSpring* cpDampedSpringInit(cpDampedSpring* spring, cpBody* a, cpBody* b, cpVect anchr1, cpVect anchr2, cpFloat restLength, cpFloat stiffness, cpFloat damping)
Undocumented in source. Be warned that the author may not have intended to support it.
cpDampedSpringNew
cpConstraint* cpDampedSpringNew(cpBody* a, cpBody* b, cpVect anchr1, cpVect anchr2, cpFloat restLength, cpFloat stiffness, cpFloat damping)
Undocumented in source. Be warned that the author may not have intended to support it.
defaultSpringForce
cpFloat defaultSpringForce(cpDampedSpring* spring, cpFloat dist)
Undocumented in source. Be warned that the author may not have intended to support it.
getImpulse
cpFloat getImpulse(cpDampedSpring* spring)
Undocumented in source. Be warned that the author may not have intended to support it.
preStep
void preStep(cpDampedSpring* spring, cpFloat dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Mixins

__anonymous
mixin CP_DefineConstraintProperty!("cpDampedSpring", cpVect, "anchr1", "Anchr1")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintProperty!("cpDampedSpring", cpVect, "anchr2", "Anchr2")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintProperty!("cpDampedSpring", cpFloat, "restLength", "RestLength")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintProperty!("cpDampedSpring", cpFloat, "stiffness", "Stiffness")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintProperty!("cpDampedSpring", cpFloat, "damping", "Damping")
Undocumented in source.
__anonymous
mixin CP_DefineConstraintProperty!("cpDampedSpring", cpDampedSpringForceFunc, "springForceFunc", "SpringForceFunc")
Undocumented in source.

Static variables

klass
cpConstraintClass klass;
Undocumented in source.

Structs

cpDampedSpring
struct cpDampedSpring

@private

Meta