public void Merge(Face3D face) { if (face == null) { return; } foreach (var faceTriangle in face.Triangles) { Triangles.Add(faceTriangle); } isNewTrianglesAdded = true; }
public void Add(Face3D face) { if (face == null) { return; } foreach (var faceTriangle in face.Triangles) { Triangles.Add(faceTriangle); faceTriangle.SourceFace = this; } isNewTrianglesAdded = true; }