From 98d3c07f0189d66693b255ee4ff57dbbd456366f Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Thu, 27 Jul 2023 18:57:49 -0700 Subject: [PATCH] revert e44e4e8 which appears to be incorrect --- src/kiri-mode/cam/topo4.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kiri-mode/cam/topo4.js b/src/kiri-mode/cam/topo4.js index aa33e9dd..bf94ba9b 100644 --- a/src/kiri-mode/cam/topo4.js +++ b/src/kiri-mode/cam/topo4.js @@ -339,7 +339,7 @@ class Topo4 { const { degrees, heights } = rec; [...heights].group(3).forEach((a,i) => { // progress each path 360 degrees to prevent A rolling backwards - paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(-degrees + i * -360) ); + paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(degrees + i * -360) ); }); } @@ -415,7 +415,7 @@ class Topo4 { const { degrees, heights } = rec; [...heights].group(3).forEach((a,i) => { // progress each path 360 degrees to prevent A rolling backwards - paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(-degrees + i * -360) ); + paths[i].camLines[0].push( newPoint(a[0], a[1], a[2] + leave).setA(degrees + i * -360) ); }); }