demo.Planet

Undocumented in source.

Members

Functions

add_box
void add_box(cpSpace* space)
Undocumented in source. Be warned that the author may not have intended to support it.
destroy
void destroy(cpSpace* space)
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(cpSpace* space, double dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

Planet
ChipmunkDemo Planet;
Undocumented in source.
gravityStrength
cpFloat gravityStrength;
Undocumented in source.
planetBody
cpBody* planetBody;
Undocumented in source.

Meta