This commit is contained in:
GoaLitiuM
2021-07-17 00:25:01 +03:00
parent 8b008e5004
commit 51c29696f6

View File

@@ -616,7 +616,7 @@ namespace Game
}
// merge faces with similar normals
List<Face> discardedFaces = new List<Face>();
/*List<Face> discardedFaces = new List<Face>();
for (int i = 0; i < hullFaces.Count; i++)
{
Face firstFace = hullFaces[i];
@@ -630,7 +630,7 @@ namespace Game
}
foreach (var f in discardedFaces)
hullFaces.Remove(f);
hullFaces.Remove(f);*/
List<Vector3> hullPoints = new List<Vector3>(hullFaces.Count * 3);
foreach (var face in hullFaces)