rename thin wall implementations
This commit is contained in:
parent
6021fe0ffb
commit
cbfdde341a
2 changed files with 6 additions and 6 deletions
|
|
@ -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" }
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue