Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 000
- 000 //top layer of 3x3 cube
- 000
- 000
- 000 //middle layer of 3x3x3 cube
- 000
- 000
- 111 //bottom layer of 3x3x3 cube
- 100
- int[][][] piece = new int[3][3][3];
- // structure - [top = 0, middle = 1, bottom = 2][z][x]
- // z = column, x = row
- // z,x because in my 3D renderer, -z = forward, x = right/ left, y = up/down
- 000
- 001
- 000
- 000
- 001
- 000
- 000
- 001
- 001
Add Comment
Please, Sign In to add comment