| 494 | namespace |
| 495 | { |
| 496 | FORCE_INLINE float NodeSizeByDistance(const Vector3& nodePosition, bool scaleByDistance) |
| 497 | { |
| 498 | if (scaleByDistance) |
| 499 | return (float)(Vector3::Distance(DebugDraw::GetViewPos(), nodePosition) / 100); |
| 500 | return 5.0f; |
| 501 | } |
| 502 | |
| 503 | void DrawSpline(Spline* spline, const Color& color, const Transform& transform, bool depthTest, bool scaleByDistance = false) |
| 504 | { |
no test coverage detected