From e6e38eb533699b8df2017c4a45dede65616f951b Mon Sep 17 00:00:00 2001 From: Ravi Riley <8132955+raviriley@users.noreply.github.com> Date: Fri, 31 Mar 2023 02:19:07 -0700 Subject: [PATCH] Add spaces to boundsMin & boundsMax --- js/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/main.js b/js/main.js index 66a07d2..10d343e 100644 --- a/js/main.js +++ b/js/main.js @@ -118,8 +118,8 @@ function parseBinaryResult(stl) { } } - var boundsMin = `[${minx.toFixed(3)},${miny.toFixed(3)},${minz.toFixed(3)}]`; - var boundsMax = `[${maxx.toFixed(3)},${maxy.toFixed(3)},${maxz.toFixed(3)}]`; + var boundsMin = `[${minx.toFixed(3)}, ${miny.toFixed(3)}, ${minz.toFixed(3)}]`; + var boundsMax = `[${maxx.toFixed(3)}, ${maxy.toFixed(3)}, ${maxz.toFixed(3)}]`; saveResult(vertices, triangles, boundsMin, boundsMax); } @@ -194,8 +194,8 @@ function parseAsciiResult(stl) { } } - var boundsMin = `[${minx.toFixed(3)},${miny.toFixed(3)},${minz.toFixed(3)}]`; - var boundsMax = `[${maxx.toFixed(3)},${maxy.toFixed(3)},${maxz.toFixed(3)}]`; + var boundsMin = `[${minx.toFixed(3)}, ${miny.toFixed(3)}, ${minz.toFixed(3)}]`; + var boundsMax = `[${maxx.toFixed(3)}, ${maxy.toFixed(3)}, ${maxz.toFixed(3)}]`; saveResult(vertices, triangles, boundsMin, boundsMax); } }