Go to the documentation of this file.
26 #define GLFW_INCLUDE_NONE
84 void DrawString(
int x,
int y,
const char*
string, ...);
The header of the GLFW 3 API.
void BuildProjectionMatrix(float *m, float zBias)
void DrawSegment(const b2Vec2 &p1, const b2Vec2 &p2, const b2Color &color) override
Draw a line segment.
struct GLFWwindow GLFWwindow
Opaque window object.
void DrawAABB(b2AABB *aabb, const b2Color &color)
void Set(float x_, float y_)
Set this vector to some specified coordinates.
void DrawPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a closed polygon provided in CCW order.
GLRenderPoints * m_points
void DrawString(int x, int y, const char *string,...)
Color for debug drawing. Each value has the range [0,1].
GLFWwindow * g_mainWindow
void DrawPoint(const b2Vec2 &p, float size, const b2Color &color) override
Draw a point.
void DrawSolidCircle(const b2Vec2 ¢er, float radius, const b2Vec2 &axis, const b2Color &color) override
Draw a solid circle.
An axis aligned bounding box.
GLRenderTriangles * m_triangles
void DrawCircle(const b2Vec2 ¢er, float radius, const b2Color &color) override
Draw a circle.
void DrawTransform(const b2Transform &xf) override
b2Vec2 ConvertScreenToWorld(const b2Vec2 &screenPoint)
void DrawSolidPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a solid closed polygon provided in CCW order.
b2Vec2 ConvertWorldToScreen(const b2Vec2 &worldPoint)
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:07