示例#1
0
        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);
        }
示例#2
0
        public void AddFace(Face face)
        {
            PushGroupIfNeeded();

            _currentGroup.AddFace(face);
        }
示例#3
0
 public void AddFace(Face face)
 {
     _faces.Add(face);
 }
示例#4
0
 public void AddFace(Face face)
 {
     PushMeshIfNeeded();
     _current.AddFace(face);
 }
示例#5
0
 public void AddFace(Face face)
 {
     _faces.Add(face);
 }
示例#6
0
 public void AddFace(Face face)
 {
     ParsedFace = face;
 }