|
@@ -71,7 +71,7 @@ if float(origWidth) / origHeight != 2: |
|
|
if args.cubeSize != 0: |
|
|
if args.cubeSize != 0: |
|
|
cubeSize = args.cubeSize |
|
|
cubeSize = args.cubeSize |
|
|
else: |
|
|
else: |
|
|
cubeSize = 8 * int(origWidth / math.pi / 8) |
|
|
|
|
|
|
|
|
cubeSize = 8 * (origWidth / math.pi / 8) |
|
|
levels = int(math.ceil(math.log(float(cubeSize) / args.tileSize, 2))) + 1 |
|
|
levels = int(math.ceil(math.log(float(cubeSize) / args.tileSize, 2))) + 1 |
|
|
origHeight = str(origHeight) |
|
|
origHeight = str(origHeight) |
|
|
origWidth = str(origWidth) |
|
|
origWidth = str(origWidth) |
|
|