diff --git a/ClassicalSharp/MeshBuilder/SmoothLightingBuilder.cs b/ClassicalSharp/MeshBuilder/SmoothLightingBuilder.cs index b80ea922b..d35b0925a 100644 --- a/ClassicalSharp/MeshBuilder/SmoothLightingBuilder.cs +++ b/ClassicalSharp/MeshBuilder/SmoothLightingBuilder.cs @@ -246,10 +246,10 @@ namespace ClassicalSharp { part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x1, y2, z2, u1, v2, col0_1 ); part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x2 + (count - 1), y2, z2, u2, v2, col1_1 ); } else { - part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x2 + (count - 1), y2, z1, u2, v1, col1_0 ); part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x1, y2, z1, u1, v1, col0_0 ); - part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x1, y2, z2, u1, v2, col0_1 ); + part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x1, y2, z2, u1, v2, col0_1 ); part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x2 + (count - 1), y2, z2, u2, v2, col1_1 ); + part.vertices[part.vIndex.top++] = new VertexP3fT2fC4b( x2 + (count - 1), y2, z1, u2, v1, col1_0 ); } }