| 302 | } |
| 303 | |
| 304 | void DrawNode::drawLine(const Vec2& origin, |
| 305 | const Vec2& destination, |
| 306 | const Color4F& color, |
| 307 | float thickness, |
| 308 | DrawNode::EndType etStart, |
| 309 | DrawNode::EndType etEnd) |
| 310 | { |
| 311 | if (thickness <= 0.0f) |
| 312 | { |
| 313 | AXLOGW("{}: thickness <= 0", __FUNCTION__); |
| 314 | return; |
| 315 | } |
| 316 | |
| 317 | _drawSegment(origin, destination, color, thickness, etStart, etEnd); |
| 318 | } |
| 319 | |
| 320 | void DrawNode::drawPoly(const Vec2* poli, |
| 321 | unsigned int numberOfPoints, |
no outgoing calls
no test coverage detected