begin 3.2 dev cycle

This commit is contained in:
Stewart Allen 2022-01-21 11:51:38 -05:00
commit faf891d353
5 changed files with 4 additions and 10 deletions

View file

@ -403,12 +403,6 @@ mesh.tool = class MeshTool {
// recover and map loops from point arrays
for (let rec of nested) {
rec.loop = polys.filter(loop => loop.points === rec.points)[0];
// keep parent/child winding reversed
// let CCW = rec.depth % 2 === 0;
// if ((CCW && rec.area > 0) || (!CCW && rec.area < 0)) {
// rec.points = rec.loop.points = rec.points.group(3).reverse().flat();
// rec.loop.index = rec.loop.index.reverse();
// }
}
// extract tops which have nesting depth mod 2 === 0