-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcanstick4.py
27 lines (26 loc) · 1.39 KB
/
canstick4.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
widthGrid = 4
heightGrid = 0
depthGrid = 4
lookup = [ # 21 entries
{ 'x': 1, 'y': 0, 'z': 0 }, # layer 0 ( voxel 0 )
{ 'x': 2, 'y': 0, 'z': 0 }, # layer 0 ( voxel 1 )
{ 'x': 3, 'y': 0, 'z': 0 }, # layer 0 ( voxel 2 )
{ 'x': 0, 'y': 0, 'z': 1 }, # layer 0 ( voxel 3 )
{ 'x': 1, 'y': 0, 'z': 1 }, # layer 0 ( voxel 4 )
{ 'x': 2, 'y': 0, 'z': 1 }, # layer 0 ( voxel 5 )
{ 'x': 3, 'y': 0, 'z': 1 }, # layer 0 ( voxel 6 )
{ 'x': 4, 'y': 0, 'z': 1 }, # layer 0 ( voxel 7 )
{ 'x': 0, 'y': 0, 'z': 2 }, # layer 0 ( voxel 8 )
{ 'x': 1, 'y': 0, 'z': 2 }, # layer 0 ( voxel 9 )
{ 'x': 2, 'y': 0, 'z': 2 }, # layer 0 ( voxel 10 )
{ 'x': 3, 'y': 0, 'z': 2 }, # layer 0 ( voxel 11 )
{ 'x': 4, 'y': 0, 'z': 2 }, # layer 0 ( voxel 12 )
{ 'x': 0, 'y': 0, 'z': 3 }, # layer 0 ( voxel 13 )
{ 'x': 1, 'y': 0, 'z': 3 }, # layer 0 ( voxel 14 )
{ 'x': 2, 'y': 0, 'z': 3 }, # layer 0 ( voxel 15 )
{ 'x': 3, 'y': 0, 'z': 3 }, # layer 0 ( voxel 16 )
{ 'x': 4, 'y': 0, 'z': 3 }, # layer 0 ( voxel 17 )
{ 'x': 1, 'y': 0, 'z': 4 }, # layer 0 ( voxel 18 )
{ 'x': 2, 'y': 0, 'z': 4 }, # layer 0 ( voxel 19 )
{ 'x': 3, 'y': 0, 'z': 4 } # layer 0 ( voxel 20 )
]