From c3d5b891ecadada6f6ce5a8c5423fce6dede781d Mon Sep 17 00:00:00 2001 From: LightCat Date: Sun, 4 Nov 2018 11:54:14 +0100 Subject: [PATCH] you saw nothing --- src/draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;