gui/GuiManager/Misc/InGrid.int
Ryan Ward 76fd457833 Updated to 9.0.0
Love2D 1.11 Support is here! :D
2018-06-09 14:54:54 -04:00

3 lines
94 B
Plaintext

function InGrid(i,x,y,s)
return math.floor((i-1)/x)*s,(i-1)*s-(math.floor((i-1)/y)*(s*x))
end