this.vertexData = vertexDataPool.aquire();
int index = 0;
for (int i = 0; i < builder.faces.size(); i++){
Face face = builder.faces.get(i);
if (face.vertices.size() == 3){
FaceVertex v0 = face.vertices.get(0);
FaceVertex v1 = face.vertices.get(1);
FaceVertex v2 = face.vertices.get(2);
index = addVertexData(vertexData, index, v0.v.x, v0.v.y, v0.v.z, 0, 0, c);
index = addVertexData(vertexData, index, v1.v.x, v1.v.y, v1.v.z, 0, 0, c);
index = addVertexData(vertexData, index, v2.v.x, v2.v.y, v2.v.z, 0, 0, c);
}