From f146c4f918b6a92daa35afc621cf00540281a956 Mon Sep 17 00:00:00 2001 From: Michael Enion Date: Sun, 25 Jul 2021 14:30:46 -0700 Subject: [PATCH] fix logging for gridless --- scripts/utility.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utility.js b/scripts/utility.js index 62c5339..f285613 100644 --- a/scripts/utility.js +++ b/scripts/utility.js @@ -201,7 +201,7 @@ export function projectGridless(A, B, height, distance) { const projected_x = A.x + ((height / distance) * (B.y - A.y)); const projected_y = A.y - ((height / distance) * (B.x - A.x)); - log(`Projecting Gridless: A: (${A.x}, ${A.y}, ${A.z})->(${projected_A.x}, ${projected_A.y}); B: (${B.x}, ${B.y}, ${B.z})->(${projected_B.x}, ${projected_B.y})`); + log(`Projecting Gridless: A: (${A.x}, ${A.y}, ${A.z})->(${projected_x}, ${projected_y}); B: (${B.x}, ${B.y}, ${B.z})->(${B.x}, ${B.y})`); return [{ x: projected_x, y: projected_y },