checkpoint experimental layer polishing

This commit is contained in:
Stewart Allen 2020-03-04 15:07:06 -05:00
commit 09990a14ce
8 changed files with 193 additions and 30 deletions

View file

@ -162,7 +162,7 @@ var gs_base_polygon = exports;
length = points.length;
poly.bounds = new Bounds();
for (var i=0; i<length; i++) {
p = points[i];
let p = points[i];
if (x) p.swapXZ();
else if (y) p.swapYZ();
poly.bounds.update(p);