|
|
@ -43,7 +43,7 @@ tile(void) {
|
|
|
|
sum += spow(vratio, i);
|
|
|
|
sum += spow(vratio, i);
|
|
|
|
mscale = wah / sum;
|
|
|
|
mscale = wah / sum;
|
|
|
|
if(vratio >= 1)
|
|
|
|
if(vratio >= 1)
|
|
|
|
mmaxtile = bh > (mscale * spow(vratio, 0));
|
|
|
|
mmaxtile = bh > mscale;
|
|
|
|
else
|
|
|
|
else
|
|
|
|
mmaxtile = bh > (mscale * spow(vratio, n - 1));
|
|
|
|
mmaxtile = bh > (mscale * spow(vratio, n - 1));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -55,8 +55,8 @@ tile(void) {
|
|
|
|
sum += spow(vratio, i);
|
|
|
|
sum += spow(vratio, i);
|
|
|
|
sscale = wah / sum;
|
|
|
|
sscale = wah / sum;
|
|
|
|
if(vratio >= 1) {
|
|
|
|
if(vratio >= 1) {
|
|
|
|
mmaxtile = bh > (mscale * spow(vratio, 0));
|
|
|
|
mmaxtile = bh > mscale;
|
|
|
|
smaxtile = bh > (sscale * spow(vratio, 0));
|
|
|
|
smaxtile = bh > sscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
else {
|
|
|
|
mmaxtile = bh > (mscale * spow(vratio, nmaster - 1));
|
|
|
|
mmaxtile = bh > (mscale * spow(vratio, nmaster - 1));
|
|
|
|