public void Add(VertexData data)
 {
     //Array.Copy(data.Vertices, 0, Vertices, Vertices.Length, data.Vertices.Length);
 }
Exemple #2
0
 public Mesh(VertexData vertexData, Shader shader)
 {
     VertexArray = new VertexArray(vertexData);
     Shader      = shader;
     Transform   = Matrix4.Identity;
 }