@@ -577,7 +577,7 @@ void DrawNode::drawSegment(const Vec2& from,
577
577
_drawSegment (from, to, color, thickness, etStart, etEnd);
578
578
}
579
579
580
- void DrawNode::drawPolygon (Vec2* verts,
580
+ void DrawNode::drawPolygon (const Vec2* verts,
581
581
int count,
582
582
const Color4B& fillColor,
583
583
float thickness,
@@ -592,7 +592,7 @@ void DrawNode::drawPolygon(Vec2* verts,
592
592
_drawPolygon (verts, count, fillColor, borderColor, true , thickness, isconvex);
593
593
}
594
594
595
- void DrawNode::drawPolygon (Vec2* verts, int count, float thickness, const Color4B& borderColor, bool isconvex)
595
+ void DrawNode::drawPolygon (const Vec2* verts, int count, float thickness, const Color4B& borderColor, bool isconvex)
596
596
{
597
597
if (thickness < 0 .0f )
598
598
{
@@ -602,7 +602,7 @@ void DrawNode::drawPolygon(Vec2* verts, int count, float thickness, const Color4
602
602
_drawPolygon (verts, count, Color4B::TRANSPARENT, borderColor, true , thickness, isconvex);
603
603
}
604
604
605
- void DrawNode::drawSolidPolygon (Vec2* verts,
605
+ void DrawNode::drawSolidPolygon (const Vec2* verts,
606
606
int count,
607
607
const Color4B& fillColor,
608
608
float thickness,
0 commit comments