Guest User

Untitled

a guest
Nov 16th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. 000
  2. 000 //top layer of 3x3 cube
  3. 000
  4.  
  5. 000
  6. 000 //middle layer of 3x3x3 cube
  7. 000
  8.  
  9. 000
  10. 111 //bottom layer of 3x3x3 cube
  11. 100
  12.  
  13. int[][][] piece = new int[3][3][3];
  14. // structure - [top = 0, middle = 1, bottom = 2][z][x]
  15. // z = column, x = row
  16. // z,x because in my 3D renderer, -z = forward, x = right/ left, y = up/down
  17.  
  18. 000
  19. 001
  20. 000
  21.  
  22. 000
  23. 001
  24. 000
  25.  
  26. 000
  27. 001
  28. 001
Add Comment
Please, Sign In to add comment