Less debug output
This commit is contained in:
parent
b376473f17
commit
a4b5b89205
@ -226,12 +226,10 @@ local function do_img(data, p, n, x, y)
|
|||||||
if mirror then
|
if mirror then
|
||||||
a, e = -a, -e+xsize
|
a, e = -a, -e+xsize
|
||||||
end
|
end
|
||||||
print(img.rotation, rotate, data, a, b, c, d, e, f)
|
|
||||||
for i=1,rotate do
|
for i=1,rotate do
|
||||||
a, b, c, d, e, f = -b, a, -d, c, -f+ysize, e
|
a, b, c, d, e, f = -b, a, -d, c, -f+ysize, e
|
||||||
xsize, ysize = ysize, xsize
|
xsize, ysize = ysize, xsize
|
||||||
end
|
end
|
||||||
print(a, b, c, d, e, f)
|
|
||||||
local xscale, yscale = width / xsize, height / ysize
|
local xscale, yscale = width / xsize, height / ysize
|
||||||
a, c, e = a*xscale, c*xscale, e*xscale
|
a, c, e = a*xscale, c*xscale, e*xscale
|
||||||
b, d, f = b*yscale, d*yscale, f*yscale
|
b, d, f = b*yscale, d*yscale, f*yscale
|
||||||
|
Loading…
Reference in New Issue
Block a user