Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void calculateIndices(byte vertexPosition, byte[] indices)
- {
- indices[0] = vertexPosition;
- indices[1] = vertexPosition + 1;
- indices[2] = vertexPosition + 2;
- indices[3] = vertexPosition + 2;
- indices[4] = vertexPosition + 1;
- indices[5] = vertexPosition + 3;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement