Exemple #1
0
 public VMesh(int indices, int vertices)
 {
     //Data = new VVertex3D(vertices);
     Indices  = new uint[indices];
     Vertices = new float[vertices * 3];
     Norm     = new float[vertices * 3];
     UV       = new float[vertices * 2];
     Bi       = new float[vertices * 3];
     Tan      = new float[vertices * 3];
     Viz      = new VVVBO(vertices, indices);
     NumVerts = vertices;
 }
Exemple #2
0
 public VMesh(int indices, int vertices)
 {
     Data    = new VVertex3D(vertices);
     Indices = new uint[indices];
     Viz     = new VVVBO(vertices, indices);
 }