mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 02:13:58 +01:00
fix a bug in boolean algorithm
This commit is contained in:
parent
2ea90ddce3
commit
c516d6548f
1 changed files with 1 additions and 1 deletions
|
|
@ -443,7 +443,7 @@ function intersectFaceWithEdge(face, edge, result, vertecies) {
|
|||
vertecies.add(edge.vertexA);
|
||||
vertexOfIntersection = edge.vertexA;
|
||||
//console.log("point A on surface");
|
||||
} if (math.areVectorsEqual(edge.vertexB.point, pointOfIntersection, TOLERANCE)) {
|
||||
} else if (math.areVectorsEqual(edge.vertexB.point, pointOfIntersection, TOLERANCE)) {
|
||||
vertecies.add(edge.vertexB);
|
||||
vertexOfIntersection = edge.vertexB;
|
||||
//console.log("point B on surface");
|
||||
|
|
|
|||
Loading…
Reference in a new issue