Go to the documentation of this file.
118 simplexCache.
count = 0;
121 b2Distance(&distanceOutput, &simplexCache, &distanceInput);
void Step(Settings &settings) override
void DrawSegment(const b2Vec2 &p1, const b2Vec2 &p2, const b2Color &color) override
Draw a line segment.
void SetIdentity()
Set to the identity rotation.
B2_API void b2Distance(b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
b2Vec2 b2Mul(const b2Mat22 &A, const b2Vec2 &v)
b2Vec2 m_vAs[b2_maxPolygonVertices]
void Set(float x_, float y_)
Set this vector to some specified coordinates.
b2Vec2 m_vBs[b2_maxPolygonVertices]
void DrawPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a closed polygon provided in CCW order.
B2_API bool b2ShapeCast(b2ShapeCastOutput *output, const b2ShapeCastInput *input)
void DrawString(int x, int y, const char *string,...)
Color for debug drawing. Each value has the range [0,1].
Output results for b2ShapeCast.
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 DrawCircle(const b2Vec2 ¢er, float radius, const b2Color &color) override
Draw a circle.
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:08