Change point precision to 3 decimals

This commit is contained in:
Marco Massarelli 2023-10-16 12:39:00 -04:00
parent 14e3f27e0e
commit 454e19a3b5
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module.exports = {
nx = (cos * (adj_x - at_x)) + (sin * (adj_y - at_y)) + at_x,
ny = (cos * (adj_y - at_y)) - (sin * (adj_x - at_x)) + at_y;
const point_str = `${nx.toFixed(2)} ${ny.toFixed(2)}`;
const point_str = `${nx.toFixed(3)} ${ny.toFixed(3)}`;
return point_str;
}