Minor changes
This commit is contained in:
@@ -21,6 +21,7 @@ class NodeRenderer
|
||||
{
|
||||
Position2D block = BlockUtilities::getBlockFromNodeCoordinates(x, z); // The block the node at (x, y, z) is in
|
||||
|
||||
glColor3f(1.0F, 1.0F, 1.0F);
|
||||
|
||||
glBegin(GL_QUADS);
|
||||
// Front
|
||||
@@ -35,10 +36,13 @@ class NodeRenderer
|
||||
glTexCoord2f(1.0F, 1.0F);
|
||||
glVertex3f(x + 1.0F, y + .0F, z + .0F);
|
||||
|
||||
//glColor3f(.0F, .0F, .8F);
|
||||
glTexCoord2f(.0F, 1.0F);
|
||||
glVertex3f(x + .0F, y + .0F, z + .0F);
|
||||
}
|
||||
|
||||
glColor3f(1.0F, 1.0F, 1.0F);
|
||||
|
||||
// Back
|
||||
if(blockManager.mapBlocks[block.x][block.z].isAir(x - block.x * 16, y, z - block.z * 16 + 1))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user