int[] texCoordIndices = new int[m.faces()*3];
float[][] textureCoords = new float[m.texCoords()][2];
//Fill Vertices array
for (int j = 0; j < m.vertices(); j++) {
Vertex3ds vert = m.vertex(j);
if (this.flipY){
vertices[j] = new Vertex(vert.X, -vert.Y, vert.Z, -1,-1);
}else{
vertices[j] = new Vertex(vert.X, vert.Y, vert.Z, -1,-1);