Advertisement
Guest User

Untitled

a guest
Jun 19th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.29 KB | None | 0 0
  1.     private static void calculateIndices(byte vertexPosition, byte[] indices)
  2.     {
  3.         indices[0] = vertexPosition;
  4.         indices[1] = vertexPosition + 1;
  5.         indices[2] = vertexPosition + 2;
  6.         indices[3] = vertexPosition + 2;
  7.         indices[4] = vertexPosition + 1;
  8.         indices[5] = vertexPosition + 3;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement