26 #define GLFW_INCLUDE_NONE 70 void DrawPolygon(
const b2Vec2* vertices,
int32 vertexCount,
const b2Color& color)
override;
72 void DrawSolidPolygon(
const b2Vec2* vertices,
int32 vertexCount,
const b2Color& color)
override;
74 void DrawCircle(
const b2Vec2& center,
float radius,
const b2Color& color)
override;
76 void DrawSolidCircle(
const b2Vec2& center,
float radius,
const b2Vec2& axis,
const b2Color& color)
override;
82 void DrawPoint(
const b2Vec2& p,
float size,
const b2Color& color)
override;
84 void DrawString(
int x,
int y,
const char*
string, ...);
86 void DrawString(
const b2Vec2& p,
const char*
string, ...);
b2Vec2 ConvertScreenToWorld(const b2Vec2 &screenPoint)
The header of the GLFW 3 API.
struct GLFWwindow GLFWwindow
Opaque window object.
GLRenderPoints * m_points
Color for debug drawing. Each value has the range [0,1].
GLRenderTriangles * m_triangles
void Set(float x_, float y_)
Set this vector to some specified coordinates.
void BuildProjectionMatrix(float *m, float zBias)
An axis aligned bounding box.
b2Vec2 ConvertWorldToScreen(const b2Vec2 &worldPoint)
GLFWwindow * g_mainWindow