checkpoint experimental layer polishing
This commit is contained in:
parent
fdd2d16447
commit
09990a14ce
8 changed files with 193 additions and 30 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue