ackb2d 0.9
3D Gamestudio Box 2d Wraper

b2DebugDraw Struct Reference

#include <b2Types.h>

Data Fields

void * drawPolygonFunc
 Draw a closed polygon provided in CCW order.
void * drawSolidPolygonFunc
 Draw a solid closed polygon provided in CCW order.
void * drawCircleFunc
 Draw a circle.
void * drawSolidCircleFunc
 Draw a solid circle.
void * drawSegmentFunc
 Draw a line segment.
void * drawTransformFunc
void * userData

Detailed Description

Implement and register this class with a b2World to provide debug drawing of physics entities in your game.

Definition at line 128 of file b2Types.h.


Field Documentation

Draw a circle.

Definition at line 135 of file b2Types.h.

Draw a closed polygon provided in CCW order.

Definition at line 131 of file b2Types.h.

Draw a line segment.

Definition at line 139 of file b2Types.h.

Draw a solid circle.

Definition at line 137 of file b2Types.h.

Draw a solid closed polygon provided in CCW order.

Definition at line 133 of file b2Types.h.

Draw a transform. Choose your own length scale.

Parameters:
xfa transform.

Definition at line 142 of file b2Types.h.

void* userData

Definition at line 144 of file b2Types.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Defines