From b72f43d62a157dd90bedb96d79b927f5c2483048 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 30 Dec 2017 12:30:18 +0000 Subject: [PATCH] helixish: make railway basis right-handed Previously the y axis was reversed! Signed-off-by: Ian Jackson --- helixish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helixish.py b/helixish.py index 88769c3..0235e5b 100644 --- a/helixish.py +++ b/helixish.py @@ -83,7 +83,7 @@ class HelixishCurve(): railway_inplane_basis_x = np.hstack((q_plane[0:2], [0])) railway_inplane_basis = np.column_stack(( railway_inplane_basis_x, - np.cross([0,0,1], railway_inplane_basis_x), + -np.cross([0,0,1], railway_inplane_basis_x), [0,0,1], [0,0,0], )) -- 2.30.2