Improve debug rendering so the checkerboard patern doesn't move

This commit is contained in:
James Seibel
2021-01-20 20:03:00 -06:00
parent 79e997de94
commit 8e0700bbf9
@@ -169,7 +169,7 @@ public class LodRenderer
// if debugging draw the squares as a black and white checker board
if (debugging)
{
if ((i + j) % 2 == 0)
if ((chunkX + chunkZ) % 2 == 0)
c = white;
else
c = black;