Tag Info

New answers tagged

1

for (int i = 0; i < vertices.length / 3; i++) { vertexList[indices[i]] = new Vector3f(vertices[i], vertices[i + 1], vertices[i + 2]); } In your first run, you're taking vertices[0], vertices[1] and vertices[2], in your second run you're taking vertices[1], vertices[2] and vertices[3], see where the problem is? And i don't get why you're using ...



Top 50 recent answers are included