mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-27 01:44:31 +02:00
improve grid drawing
This commit is contained in:
@@ -1157,7 +1157,7 @@ void Renderer::render_parts()
|
|||||||
{
|
{
|
||||||
if (ny%(4*gridSize) == 0)
|
if (ny%(4*gridSize) == 0)
|
||||||
blendpixel(nx, ny, 100, 100, 100, 80);
|
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);
|
blendpixel(nx, ny, 100, 100, 100, 80);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user