samples.Planet

Undocumented in source.

Members

Static functions

add_box
void add_box()
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.
planetGravityVelocityFunc
void planetGravityVelocityFunc(cpBody* _body, cpVect gravity, cpFloat damping, cpFloat dt)
Undocumented in source. Be warned that the author may not have intended to support it.
rand_pos
cpVect rand_pos(cpFloat radius)
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

gravityStrength
cpFloat gravityStrength;
Undocumented in source.
planetBody
cpBody* planetBody;
Undocumented in source.
space
cpSpace* space;
Undocumented in source.

Variables

Planet
chipmunkDemo Planet;
Undocumented in source.

Meta