33    b2Color(
float rIn, 
float gIn, 
float bIn, 
float aIn = 1.0f)
 
   35        r = rIn; g = gIn; b = bIn; a = aIn;
 
   38    void Set(
float rIn, 
float gIn, 
float bIn, 
float aIn = 1.0f)
 
   40        r = rIn; g = gIn; b = bIn; a = aIn;
 
   61        e_centerOfMassBit       = 0x0010    
 
uint32 GetFlags() const
Get the drawing flags.
 
virtual void DrawSegment(const b2Vec2 &p1, const b2Vec2 &p2, const b2Color &color)=0
Draw a line segment.
 
virtual void DrawPoint(const b2Vec2 &p, float size, const b2Color &color)=0
Draw a point.
 
virtual void DrawSolidCircle(const b2Vec2 ¢er, float radius, const b2Vec2 &axis, const b2Color &color)=0
Draw a solid circle.
 
virtual void DrawSolidPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color)=0
Draw a solid closed polygon provided in CCW order.
 
void SetFlags(uint32 flags)
Set the drawing flags.
 
virtual void DrawCircle(const b2Vec2 ¢er, float radius, const b2Color &color)=0
Draw a circle.
 
void AppendFlags(uint32 flags)
Append flags to the current flags.
 
virtual void DrawPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color)=0
Draw a closed polygon provided in CCW order.
 
virtual void DrawTransform(const b2Transform &xf)=0
 
void ClearFlags(uint32 flags)
Clear flags from the current flags.
 
Color for debug drawing. Each value has the range [0,1].
Definition: b2_draw.h:31
 
A 2D column vector.
Definition: b2_math.h:42