Exemplo n.º 1
0
 public Mesh(string name, int vertexCount, int faceCount)
 {
     Name = name;
     Vertices = new Vertex[vertexCount];
     Faces = new Face[faceCount];
 }
Exemplo n.º 2
0
 public Mesh(string name, Vertex[] vertices, Face[] faces)
     : this(name, vertices.Length, faces.Length)
 {
     vertices.CopyTo(Vertices, 0);
     faces.CopyTo(Faces, 0);
 }