Ryan 204966f929 Added Files
Totally not ready
2017-06-10 17:10:46 -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