demo.ChipmunkDebugDraw

Undocumented in source.

Members

Functions

ChipmunkDebugDrawBB
void ChipmunkDebugDrawBB(cpBB bb, Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawCircle
void ChipmunkDebugDrawCircle(cpVect pos, cpFloat angle, cpFloat radius, Color outlineColor, Color fillColor)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawClearRenderer
void ChipmunkDebugDrawClearRenderer()
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawCollisionPoints
void ChipmunkDebugDrawCollisionPoints(cpSpace* space)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawConstraint
void ChipmunkDebugDrawConstraint(cpConstraint* constraint)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawConstraints
void ChipmunkDebugDrawConstraints(cpSpace* space)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawDot
void ChipmunkDebugDrawDot(cpFloat size, cpVect pos, Color fillColor)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawFatSegment
void ChipmunkDebugDrawFatSegment(cpVect a, cpVect b, cpFloat radius, Color outlineColor, Color fillColor)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawFlushRenderer
void ChipmunkDebugDrawFlushRenderer()
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawInit
void ChipmunkDebugDrawInit()
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawPolygon
void ChipmunkDebugDrawPolygon(int count, cpVect* verts, cpFloat radius, Color outlineColor, Color fillColor)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawPopRenderer
void ChipmunkDebugDrawPopRenderer()
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawPushRenderer
void ChipmunkDebugDrawPushRenderer()
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawSegment
void ChipmunkDebugDrawSegment(cpVect a, cpVect b, Color color)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawShape
void ChipmunkDebugDrawShape(cpShape* shape, Color outlineColor, Color fillColor)
Undocumented in source. Be warned that the author may not have intended to support it.
ChipmunkDebugDrawShapes
void ChipmunkDebugDrawShapes(cpSpace* space)
Undocumented in source. Be warned that the author may not have intended to support it.
ColorForShape
Color ColorForShape(cpShape* shape)
Undocumented in source. Be warned that the author may not have intended to support it.
ColorFromHash
Color ColorFromHash(cpHashValue hash, float alpha)
Undocumented in source. Be warned that the author may not have intended to support it.
DrawShape
void DrawShape(cpShape* shape, ShapeColors* colors)
Undocumented in source. Be warned that the author may not have intended to support it.
MAX
auto MAX(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
PushTriangles
Triangle* PushTriangles(size_t count)
Undocumented in source. Be warned that the author may not have intended to support it.
drawConstraint
void drawConstraint(cpConstraint* constraint, void* unused)
Undocumented in source. Be warned that the author may not have intended to support it.
drawSpring
void drawSpring(cpDampedSpring* spring, cpBody* body_a, cpBody* body_b)
Undocumented in source. Be warned that the author may not have intended to support it.
glColor_from_color
void glColor_from_color(Color color)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

CONSTRAINT_COLOR
Color CONSTRAINT_COLOR;
Undocumented in source.
ChipmunkDebugDrawOutlineWidth
float ChipmunkDebugDrawOutlineWidth;
Undocumented in source.
ChipmunkDebugDrawPointLineScale
float ChipmunkDebugDrawPointLineScale;
Undocumented in source.
LINE_COLOR
Color LINE_COLOR;
Undocumented in source.
SHAPE_ALPHA
float SHAPE_ALPHA;
Undocumented in source.
program
GLuint program;
Undocumented in source.
pushed_triangle_count
GLsizei pushed_triangle_count;
Undocumented in source.
triangle_buffer
Triangle* triangle_buffer;
Undocumented in source.
triangle_capacity
size_t triangle_capacity;
Undocumented in source.
triangle_count
GLsizei triangle_count;
Undocumented in source.
v2f0
v2f v2f0;
Undocumented in source.
vao
GLuint vao;
Undocumented in source.
vbo
GLuint vbo;
Undocumented in source.

Structs

ShapeColors
struct ShapeColors
Undocumented in source.

Variables

spring_count
int spring_count;
Undocumented in source.
spring_verts
cpVect[] spring_verts;
Undocumented in source.

Meta