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));
}
if (!Utils.PointEquals(intPt, otherEdge.LeftVertex.Point) ||
Utils.PointEquals(intPt, otherEdge.RightVertex.Point))
if (!(Utils.PointEquals(intPt, otherEdge.LeftVertex.Point) ||
Utils.PointEquals(intPt, otherEdge.RightVertex.Point)))
{
newVertices.AddRange(otherEdge.SubdivideAt(intPt));
}

View file

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