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: [
|
||||
{ name: "off" },
|
||||
{ name: "type 1" },
|
||||
{ name: "type 2" },
|
||||
{ name: "type 3" }
|
||||
{ name: "adaptive" },
|
||||
{ name: "legacy 1" },
|
||||
{ name: "legacy 2" }
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue