Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def build(px, py, structure, default_color):
- pz = int(hmap.get(px,py)*63)
- for xyz, color in structure.iteritems():
- x, y, z = xyz
- x, y, z = x + px, y + py, z + pz
- vxl.set_point(x, y, z, color or default_color) #if color is none, use default_color
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement