rename thin wall implementations

This commit is contained in:
Stewart Allen 2025-09-22 02:19:31 -04:00
commit cbfdde341a
2 changed files with 6 additions and 6 deletions

View file

@ -115,9 +115,9 @@ const LISTS = {
],
thin: [
{ name: "off" },
{ name: "type 1" },
{ name: "type 2" },
{ name: "type 3" }
{ name: "adaptive" },
{ name: "legacy 1" },
{ name: "legacy 2" }
]
};

View file

@ -601,13 +601,13 @@ export function doTopShells(z, top, count, offset1, offsetN, fillOffset, opt = {
} });
let ret = { last, gaps };
switch (opt.thinType) {
case "type 1":
case "legacy 1":
ret = thin_type_1({ z, top, count, top_poly, offsetN, fillOffset });
break;
case "type 2":
case "legacy 2":
ret = thin_type_2({ z, top, count, top_poly, offset1, offsetN, fillOffset, gaps, wasm });
break;
case "type 3":
case "adaptive":
ret = thin_type_3({ z, top, count, offsetN });
break;
default: