public override void Parse(string line) { var vertices = line.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries); var face = new Face(); foreach (var vertexString in vertices) { var faceVertex = ParseFaceVertex(vertexString); face.AddVertex(faceVertex); } _faceGroup.AddFace(face); }
public void AddFace(Face face) { PushGroupIfNeeded(); _currentGroup.AddFace(face); }
public void AddFace(Face face) { _faces.Add(face); }
public void AddFace(Face face) { PushMeshIfNeeded(); _current.AddFace(face); }
public void AddFace(Face face) { ParsedFace = face; }