118 simplexCache.
count = 0;
121 b2Distance(&distanceOutput, &simplexCache, &distanceInput);
void Set(const b2Shape *shape, int32 index)
b2Vec2 b2Mul(const b2Mat22 &A, const b2Vec2 &v)
void DrawPoint(const b2Vec2 &p, float size, const b2Color &color) override
Draw a point.
void SetIdentity()
Set to the identity rotation.
b2Vec2 m_vBs[b2_maxPolygonVertices]
void Step(Settings &settings) override
B2_API bool b2ShapeCast(b2ShapeCastOutput *output, const b2ShapeCastInput *input)
void DrawPolygon(const b2Vec2 *vertices, int32 vertexCount, const b2Color &color) override
Draw a closed polygon provided in CCW order.
Color for debug drawing. Each value has the range [0,1].
void DrawCircle(const b2Vec2 ¢er, float radius, const b2Color &color) override
Draw a circle.
void Set(float x_, float y_)
Set this vector to some specified coordinates.
Output results for b2ShapeCast.
b2Vec2 m_vAs[b2_maxPolygonVertices]
B2_API void b2Distance(b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
int RegisterTest(const char *category, const char *name, TestCreateFcn *fcn)
#define b2_maxPolygonVertices
void DrawString(int x, int y, const char *string,...)
virtual void Step(Settings &settings)
void DrawSegment(const b2Vec2 &p1, const b2Vec2 &p2, const b2Color &color) override
Draw a line segment.