This commit is contained in:
Zdenek Borovec 2024-09-22 00:04:53 +02:00
parent b99de74993
commit 37f4065919
2 changed files with 3 additions and 3 deletions

View file

@ -240,8 +240,8 @@ namespace Boprs
{ {
newVertices.AddRange(SubdivideAt(intPt)); newVertices.AddRange(SubdivideAt(intPt));
} }
if (!Utils.PointEquals(intPt, otherEdge.LeftVertex.Point) || if (!(Utils.PointEquals(intPt, otherEdge.LeftVertex.Point) ||
Utils.PointEquals(intPt, otherEdge.RightVertex.Point)) Utils.PointEquals(intPt, otherEdge.RightVertex.Point)))
{ {
newVertices.AddRange(otherEdge.SubdivideAt(intPt)); newVertices.AddRange(otherEdge.SubdivideAt(intPt));
} }

View file

@ -30,7 +30,7 @@ namespace Boprs
public object Clone() public object Clone()
{ {
return new SweepVertex(Point) { Edge = Edge}; return new SweepVertex(Point) { Edge = Edge };
} }
/// <summary> /// <summary>