void Keyboard(int key) override
b2Vec2 m_vertices[b2_maxPolygonVertices]
void Step(Settings &settings) override
void Set(const b2Vec2 *points, int32 count)
T b2Clamp(T a, T low, T high)
void DrawPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a closed polygon provided in CCW order.
void DrawString(int x, int y, const char *string,...)
Color for debug drawing. Each value has the range [0,1].
float RandomFloat()
Random number in range [-1,1].
void DrawPoint(const b2Vec2 &p, float size, const b2Color &color) override
Draw a point.
int RegisterTest(const char *category, const char *name, TestCreateFcn *fcn)
b2Vec2 m_points[b2_maxPolygonVertices]
virtual void Step(Settings &settings)
#define b2_maxPolygonVertices
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:07