mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-16 05:23:19 +01:00
fix boolean algorithm bugs
This commit is contained in:
parent
12095e4a25
commit
6e737694a6
1 changed files with 2 additions and 0 deletions
|
|
@ -425,6 +425,8 @@ function split(nodes, result, onCurve, direction) {
|
|||
edge.halfEdge2 = halfEdgeSameDir;
|
||||
halfEdgeNegativeDir.edge = edge;
|
||||
halfEdgeSameDir.edge = edge;
|
||||
|
||||
//check for corner case when to faces only intersects in edges
|
||||
if (!containsEdges(result, edge)) {
|
||||
result.push(edge);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue