| 534 | } |
| 535 | |
| 536 | void DrawNode::drawCatmullRom(const PointArray* pointsIn, unsigned int segments, const Color4F& color, float thickness, bool closed) |
| 537 | { |
| 538 | if (thickness <= 0.0f) |
| 539 | { |
| 540 | AXLOGW("{}: thickness <= 0", __FUNCTION__); |
| 541 | return; |
| 542 | } |
| 543 | drawCardinalSpline(pointsIn, 0.5f, segments, color, thickness, closed); |
| 544 | } |
| 545 | |
| 546 | void DrawNode::drawDot(const Vec2& pos, float radius, const Color4F& color) |
| 547 | { |