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