1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fix for box2d path creation.

This commit is contained in:
jules 2013-10-22 16:56:25 +01:00
parent bbd620c1cf
commit e4e58adc83

View file

@ -57,6 +57,8 @@ static void createPath (Path& p, const b2Vec2* vertices, int32 vertexCount)
for (int i = 1; i < vertexCount; ++i)
p.lineTo (vertices[i].x, vertices[i].y);
p.closeSubPath();
}
void Box2DRenderer::DrawPolygon (const b2Vec2* vertices, int32 vertexCount, const b2Color& color)