samples.Springies

Undocumented in source.

Members

Static functions

add_bar
cpBody* add_bar(cpVect a, cpVect b, int group)
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
init
cpSpace* init()
Undocumented in source. Be warned that the author may not have intended to support it.
new_spring
cpConstraint* new_spring(cpBody* a, cpBody* b, cpVect anchr1, cpVect anchr2, cpFloat restLength, cpFloat stiff, cpFloat damp)
Undocumented in source. Be warned that the author may not have intended to support it.
springForce
cpFloat springForce(cpConstraint* spring, cpFloat dist)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(int ticks)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

space
cpSpace* space;
Undocumented in source.

Variables

Springies
chipmunkDemo Springies;
Undocumented in source.

Meta