mirror of
https://github.com/ZDoom/ZDRay.git
synced 2024-11-24 04:41:44 +00:00
Fix wall facing the wrong way
This commit is contained in:
parent
a6d3958ad2
commit
2b5ae842da
1 changed files with 2 additions and 2 deletions
|
@ -279,12 +279,12 @@ void DoomLevelMesh::AddWallVertices(DoomLevelMeshSurface& surf, FFlatVertex* ver
|
|||
Mesh.Vertices.Push(verts[3]);
|
||||
|
||||
unsigned int startVertIndex = surf.MeshLocation.StartVertIndex;
|
||||
Mesh.Indexes.Push(startVertIndex + 2);
|
||||
Mesh.Indexes.Push(startVertIndex + 1);
|
||||
Mesh.Indexes.Push(startVertIndex + 0);
|
||||
Mesh.Indexes.Push(startVertIndex + 1);
|
||||
Mesh.Indexes.Push(startVertIndex + 2);
|
||||
Mesh.Indexes.Push(startVertIndex + 3);
|
||||
Mesh.Indexes.Push(startVertIndex + 2);
|
||||
Mesh.Indexes.Push(startVertIndex + 1);
|
||||
|
||||
surf.Bounds = GetBoundsFromSurface(surf);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue