Less debug output

This commit is contained in:
Marcel Krüger 2020-06-13 02:55:38 +02:00
parent b376473f17
commit a4b5b89205
1 changed files with 0 additions and 2 deletions

View File

@ -226,12 +226,10 @@ local function do_img(data, p, n, x, y)
if mirror then
a, e = -a, -e+xsize
end
print(img.rotation, rotate, data, a, b, c, d, e, f)
for i=1,rotate do
a, b, c, d, e, f = -b, a, -d, c, -f+ysize, e
xsize, ysize = ysize, xsize
end
print(a, b, c, d, e, f)
local xscale, yscale = width / xsize, height / ysize
a, c, e = a*xscale, c*xscale, e*xscale
b, d, f = b*yscale, d*yscale, f*yscale