| 583 | } |
| 584 | |
| 585 | void DrawNode::drawSegment(const Vec2& from, |
| 586 | const Vec2& to, |
| 587 | float thickness, |
| 588 | const Color4F& color, |
| 589 | DrawNode::EndType etStart, |
| 590 | DrawNode::EndType etEnd) |
| 591 | { |
| 592 | if (thickness <= 0.0f) |
| 593 | { |
| 594 | AXLOGW("{}: thickness <= 0", __FUNCTION__); |
| 595 | return; |
| 596 | } |
| 597 | _drawSegment(from, to, color, thickness, etStart, etEnd); |
| 598 | } |
| 599 | |
| 600 | void DrawNode::drawPolygon(const Vec2* verts, |
| 601 | int count, |
no outgoing calls