From 1bddc277e6e56b18cd4512dbc1365abd6689fb24 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 22 Sep 2016 10:28:14 +0200 Subject: [PATCH] - fixed winding of voxel polygons. --- src/gl/models/gl_voxels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/models/gl_voxels.cpp b/src/gl/models/gl_voxels.cpp index d37bdf8a0..6213eb006 100644 --- a/src/gl/models/gl_voxels.cpp +++ b/src/gl/models/gl_voxels.cpp @@ -275,8 +275,8 @@ void FVoxelModel::AddFace(int x1, int y1, int z1, int x2, int y2, int z2, int x3 mIndices.Push(indx[1]); mIndices.Push(indx[3]); mIndices.Push(indx[1]); - mIndices.Push(indx[3]); mIndices.Push(indx[2]); + mIndices.Push(indx[3]); } //===========================================================================