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: [ thin: [
{ name: "off" }, { name: "off" },
{ name: "type 1" }, { name: "adaptive" },
{ name: "type 2" }, { name: "legacy 1" },
{ name: "type 3" } { name: "legacy 2" }
] ]
}; };

View file

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