mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 10:25:36 +01:00
remove empty face in cut/extrude previewer
This commit is contained in:
parent
05387d0cd6
commit
2a63ae383a
1 changed files with 4 additions and 2 deletions
|
|
@ -34,8 +34,10 @@ export function createPreviewGeomProvider(inversed) {
|
|||
triangles.push([base[p], base[q], lid[q]]);
|
||||
triangles.push([lid[q], lid[p], base[p]]);
|
||||
}
|
||||
base.forEach(p => basePoints.push(p));
|
||||
lid.forEach(p => lidPoints.push(p));
|
||||
for (let j = 0; j < base.length - 1; j++) {
|
||||
basePoints.push(base[j]);
|
||||
lidPoints.push(base[j]);
|
||||
}
|
||||
}
|
||||
|
||||
function collectOnSurface(points, normal) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue