tile drawing function implemented. Still needs an interface
This commit is contained in:
2
chunk.py
2
chunk.py
@@ -155,7 +155,7 @@ class ChunkRenderer(object):
|
||||
# The next block up on the Z axis subtracts 12 from y axis in the image
|
||||
|
||||
# Since there are 16x16x128 blocks in a chunk, the image will be 384x1728
|
||||
# (height is 128*24 high, plus the size of the horizontal plane: 16*12)
|
||||
# (height is 128*12 high, plus the size of the horizontal plane: 16*12)
|
||||
if not img:
|
||||
img = Image.new("RGBA", (384, 1728))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user