mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-28 06:42:09 +00:00
- fixed winding of voxel polygons.
This commit is contained in:
parent
960ed5130c
commit
1bddc277e6
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
|
|
Loading…
Reference in a new issue