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
65 void SetFlags(uint32 flags);
68 uint32 GetFlags()
const;
71 void AppendFlags(uint32 flags);
74 void ClearFlags(uint32 flags);
77 virtual void DrawPolygon(
const b2Vec2* vertices, int32 vertexCount,
const b2Color& color) = 0;
80 virtual void DrawSolidPolygon(
const b2Vec2* vertices, int32 vertexCount,
const b2Color& color) = 0;
83 virtual void DrawCircle(
const b2Vec2& center,
float radius,
const b2Color& color) = 0;
86 virtual void DrawSolidCircle(
const b2Vec2& center,
float radius,
const b2Vec2& axis,
const b2Color& color) = 0;
93 virtual void DrawTransform(
const b2Transform& xf) = 0;
96 virtual void DrawPoint(
const b2Vec2& p,
float size,
const b2Color& color) = 0;