snap.love/0004-vy

5 lines
106 B
Plaintext

vy = function(sy)
-- turn surface coordinates into viewport coordinates
return scale(sy-Viewport.y)
end