0

tile drawing function implemented. Still needs an interface

This commit is contained in:
Andrew Brown
2010-08-30 21:05:22 -04:00
parent 8c162ce890
commit ee6eaf0206
2 changed files with 99 additions and 21 deletions

View File

@@ -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))