Some code review tweaks

This commit is contained in:
raysan5 2016-08-07 13:51:01 +02:00
parent f69f930b51
commit 7fbd821727
2 changed files with 22 additions and 52 deletions

View file

@ -36,8 +36,8 @@ local pixels = {}
for y = 1, height do
for x = 1, width do
if ((((x - 1)/32+(y - 1)//32)//1)%2 == 0) then pixels[y*height + x] = DARKBLUE
else pixels[y*height + x] = SKYBLUE end
if ((((x - 1)/32+(y - 1)//32)//1)%2 == 0) then pixels[(y - 1)*height + x] = DARKBLUE
else pixels[(y - 1)*height + x] = SKYBLUE end
end
end