From 3688a5fa9c30eccc98e89430a9e906b5b3d3cf7a Mon Sep 17 00:00:00 2001 From: Arjan van de Ven Date: Mon, 10 Feb 2020 13:18:07 +0000 Subject: [PATCH] typo fix --- toolpath/triangle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolpath/triangle.c b/toolpath/triangle.c index 4c0267a..ed60e05 100644 --- a/toolpath/triangle.c +++ b/toolpath/triangle.c @@ -672,7 +672,7 @@ static void do_outlines(double distance) */ - if (fabs(v2Y) > 0.01 || fabs(v2X < 0.0001)) { + if (fabs(v2Y) > 0.01 || fabs(v2X) < 0.0001) { double left, right; left = vX - vY/v2Y * v2X; right = m2X + v2X * mY / v2Y - m2Y * v2X/v2Y - mX; @@ -735,7 +735,7 @@ static void do_outlines(double distance) */ - if (fabs(v2Y) > 0.11 || fabs(v2X < 0.0001)) { + if (fabs(v2Y) > 0.11 || fabs(v2X) < 0.0001) { double left, right; left = vX - vY/v2Y * v2X; right = m2X + v2X * mY / v2Y - m2Y * v2X/v2Y - mX;