Exemplo n.º 1
0
 public override void WriteTo(System.IO.BinaryWriter writer)
 {
     writer.Write(TAG);
     writer.Write(Vertices.Length);
     foreach (var VerticesElement in Vertices)
     {
         VerticesElement.WriteTo(writer);
     }
 }
Exemplo n.º 2
0
            public override void WriteTo(BinaryWriter writer)
            {
                writer.Write(TAG);
                writer.Write(Vertices.Length);
                foreach (var VerticesElement in Vertices)
                {
                    VerticesElement.WriteTo(writer);
                }

                writer.Write((int)(PrimitiveType));
            }