diff --git a/src/draw.cpp b/src/draw.cpp index e52835c..9b9bc9f 100644 --- a/src/draw.cpp +++ b/src/draw.cpp @@ -149,7 +149,7 @@ void line(float x, float y, float dx, float dy, rgba color, float thickness) float ex = x + dx; float ey = y + dy; - if (!length <= 0.1f) + if (length <= 1.0f) return; nx /= length;