Skip to content

Commit

Permalink
fix logging for gridless
Browse files Browse the repository at this point in the history
  • Loading branch information
caewok committed Jul 25, 2021
1 parent 66b452e commit f146c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit f146c4f

Please sign in to comment.