mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-26 09:24:28 +02:00
improve grid drawing
This commit is contained in:
@@ -1155,9 +1155,9 @@ void Renderer::render_parts()
|
||||
for (ny=0; ny<YRES; ny++)
|
||||
for (nx=0; nx<XRES; nx++)
|
||||
{
|
||||
if (ny%(4*gridSize)==0)
|
||||
if (ny%(4*gridSize) == 0)
|
||||
blendpixel(nx, ny, 100, 100, 100, 80);
|
||||
if (nx%(4*gridSize)==0)
|
||||
if (nx%(4*gridSize) == 0 && ny%(4*gridSize) != 0)
|
||||
blendpixel(nx, ny, 100, 100, 100, 80);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user