| 598 | } |
| 599 | |
| 600 | void DrawNode::drawPolygon(const Vec2* verts, |
| 601 | int count, |
| 602 | const Color4F& fillColor, |
| 603 | float thickness, |
| 604 | const Color4F& borderColor, |
| 605 | bool isconvex) |
| 606 | { |
| 607 | if (thickness < 0.0f) |
| 608 | { |
| 609 | AXLOGW("{}: thickness < 0, changed to 0", __FUNCTION__); |
| 610 | thickness = 0.0f; |
| 611 | } |
| 612 | _drawPolygon(verts, count, fillColor, borderColor, true, thickness, isconvex); |
| 613 | } |
| 614 | |
| 615 | void DrawNode::drawPolygon(const Vec2* verts, int count, float thickness, const Color4F& borderColor, bool isconvex) |
| 616 | { |
no outgoing calls