Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int[] triangles = new int[tri * 3];
- for (int t = 0; t < tri; t++)
- {
- int triangleIndex = t * 6;
- print(triangleIndex);
- triangles[triangleIndex + 0] = 0;
- triangles[triangleIndex + 1] = 3;
- triangles[triangleIndex + 2] = 1;
- triangles[triangleIndex + 3] = 3;
- triangles[triangleIndex + 4] = 4;
- triangles[triangleIndex + 5] = 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement