demo.Shatter

Undocumented in source.

Members

Aliases

M_PI_2
alias M_PI_2 = PI_2
Undocumented in source.

Manifest constants

DENSITY
enum DENSITY;
Undocumented in source.
MAX_VERTEXES_PER_VORONOI
enum MAX_VERTEXES_PER_VORONOI;
Undocumented in source.

Static functions

ClipCell
int ClipCell(cpShape* shape, cpVect center, int in_i, int in_j, WorleyContex* context, cpVect* verts, cpVect* clipped, int count)
Undocumented in source. Be warned that the author may not have intended to support it.
HashVect
cpVect HashVect(uint32_t x, uint32_t y, uint32_t seed)
Undocumented in source. Be warned that the author may not have intended to support it.
ShatterCell
void ShatterCell(cpSpace* space, cpShape* shape, cpVect cell, int cell_i, int cell_j, WorleyContex* context)
Undocumented in source. Be warned that the author may not have intended to support it.
ShatterShape
void ShatterShape(cpSpace* space, cpShape* shape, cpFloat cellSize, cpVect focus)
Undocumented in source. Be warned that the author may not have intended to support it.
WorleyPoint
cpVect WorleyPoint(int i, int j, WorleyContex* context)
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.
update
void update(cpSpace* space, double dt)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

WorleyContex
struct WorleyContex
Undocumented in source.

Variables

Shatter
ChipmunkDemo Shatter;
Undocumented in source.

Meta