mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Some code review tweaks
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user