| 332 | } |
| 333 | |
| 334 | void DrawNode::drawCircle(const Vec2& center, |
| 335 | float radius, |
| 336 | float angle, |
| 337 | unsigned int segments, |
| 338 | bool drawLineToCenter, |
| 339 | float scaleX, |
| 340 | float scaleY, |
| 341 | const Color4F& color, |
| 342 | float thickness) |
| 343 | { |
| 344 | if (thickness <= 0.0f) |
| 345 | { |
| 346 | AXLOGW("{}: thickness <= 0", __FUNCTION__); |
| 347 | return; |
| 348 | } |
| 349 | if (radius == 0.0f) |
| 350 | { |
| 351 | AXLOGW("{}: radius == 0", __FUNCTION__); |
| 352 | return; |
| 353 | } |
| 354 | |
| 355 | _drawCircle(center, radius, angle, segments, drawLineToCenter, scaleX, scaleY, color, Color4F(), false, thickness); |
| 356 | } |
| 357 | |
| 358 | void DrawNode::drawCircle(const Vec2& center, |
| 359 | float radius, |