From e6ff7064197a9198f96e56c91768e56975b4d9fa Mon Sep 17 00:00:00 2001 From: Matt Low Date: Mon, 16 Nov 2020 13:05:13 +0400 Subject: [PATCH] Fix flipped right/left normal vector functions --- geom/math.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geom/math.py b/geom/math.py index 14d3e5a..f5cf152 100644 --- a/geom/math.py +++ b/geom/math.py @@ -20,12 +20,12 @@ def normalize(x, y): def lnormal(x, y): """Returns the left-hand normal of a vector.""" - return -y, x + return y, -x def rnormal(x, y): """Returns the right-hand normal of a vector.""" - return y, -x + return -y, x def reverse(x, y):