v0.14.6.0
This commit is contained in:
+1
-4
@@ -211,10 +211,7 @@ namespace FarseerPhysics.Common.Decomposition.CDT.Delaunay
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
t = Neighbors[i];
|
||||
if (t != null)
|
||||
{
|
||||
t.ClearNeighbor(this);
|
||||
}
|
||||
t?.ClearNeighbor(this);
|
||||
}
|
||||
ClearNeighbors();
|
||||
Points[0] = Points[1] = Points[2] = null;
|
||||
|
||||
+1
-4
@@ -491,10 +491,7 @@ namespace FarseerPhysics.Common.Decomposition.CDT.Delaunay.Sweep
|
||||
{
|
||||
triangle.MarkConstrainedEdge(index);
|
||||
triangle = triangle.Neighbors[index];
|
||||
if (triangle != null)
|
||||
{
|
||||
triangle.MarkConstrainedEdge(ep, eq);
|
||||
}
|
||||
triangle?.MarkConstrainedEdge(ep, eq);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
@@ -187,10 +187,7 @@ namespace FarseerPhysics.Common.Decomposition.CDT.Polygon
|
||||
|
||||
public void ClearSteinerPoints()
|
||||
{
|
||||
if (_steinerPoints != null)
|
||||
{
|
||||
_steinerPoints.Clear();
|
||||
}
|
||||
_steinerPoints?.Clear();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user