b2PolygonShape m_polygonB
b2Vec2 m_vertices[b2_maxPolygonVertices]
void Keyboard(int key) override
int32 iterations
number of GJK iterations used
B2_API void b2Distance(b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
b2Vec2 b2Mul(const b2Mat22 &A, const b2Vec2 &v)
b2PolygonShape m_polygonA
void Set(float x_, float y_)
Set this vector to some specified coordinates.
void Step(Settings &settings) override
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,...)
b2Vec2 pointB
closest point on shapeB
b2Vec2 pointA
closest point on shapeA
Color for debug drawing. Each value has the range [0,1].
void SetAsBox(float hx, float hy)
void DrawPoint(const b2Vec2 &p, float size, const b2Color &color) override
Draw a point.
int RegisterTest(const char *category, const char *name, TestCreateFcn *fcn)
void Set(const b2Shape *shape, int32 index)
virtual void Step(Settings &settings)
#define b2_maxPolygonVertices
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:07