- fixed winding of voxel polygons.

This commit is contained in:
Christoph Oelckers 2016-09-22 10:28:14 +02:00
parent 960ed5130c
commit 1bddc277e6

View file

@ -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[1]);
mIndices.Push(indx[3]); mIndices.Push(indx[3]);
mIndices.Push(indx[1]); mIndices.Push(indx[1]);
mIndices.Push(indx[3]);
mIndices.Push(indx[2]); mIndices.Push(indx[2]);
mIndices.Push(indx[3]);
} }
//=========================================================================== //===========================================================================