improve grid drawing
This commit is contained in:
parent
986b25b508
commit
d4359184f2
@ -1155,9 +1155,9 @@ void Renderer::render_parts()
|
|||||||
for (ny=0; ny<YRES; ny++)
|
for (ny=0; ny<YRES; ny++)
|
||||||
for (nx=0; nx<XRES; nx++)
|
for (nx=0; nx<XRES; nx++)
|
||||||
{
|
{
|
||||||
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user