Swapped the sign on front and back faces so that they render correctly again

This commit is contained in:
2022-10-30 17:13:18 -04:00
parent a0bec8bfc5
commit 37676b72be
3 changed files with 8 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ class NodeRenderer
glBegin(GL_QUADS);
// Front
if(blockManager.isAir(x, y, z + 1))
if(blockManager.isAir(x, y, z - 1))
{
glTexCoord2f(.0F, .0F);
glVertex3f(x + .0F, y + 1.0F, z + .0F);
@@ -43,7 +43,7 @@ class NodeRenderer
}
// Back
if(blockManager.isAir(x, y, z - 1))
if(blockManager.isAir(x, y, z + 1))
{
glTexCoord2f(.0F, .0F);