Rename MeshSurfaces to MeshSurfaceIndexes for clarity
This commit is contained in:
parent
44c75fb9a7
commit
1e47db3cf3
4 changed files with 7 additions and 7 deletions
|
|
@ -61,7 +61,7 @@ DoomLevelMesh::DoomLevelMesh(FLevelLocals &doomMap)
|
|||
MeshElements.Push(pos);
|
||||
MeshElements.Push(pos + j - 1);
|
||||
MeshElements.Push(pos + j);
|
||||
MeshSurfaces.Push((int)i);
|
||||
MeshSurfaceIndexes.Push((int)i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -72,14 +72,14 @@ DoomLevelMesh::DoomLevelMesh(FLevelLocals &doomMap)
|
|||
MeshElements.Push(pos + 0);
|
||||
MeshElements.Push(pos + 1);
|
||||
MeshElements.Push(pos + 2);
|
||||
MeshSurfaces.Push((int)i);
|
||||
MeshSurfaceIndexes.Push((int)i);
|
||||
}
|
||||
if (!IsDegenerate(verts[1], verts[2], verts[3]))
|
||||
{
|
||||
MeshElements.Push(pos + 3);
|
||||
MeshElements.Push(pos + 2);
|
||||
MeshElements.Push(pos + 1);
|
||||
MeshSurfaces.Push((int)i);
|
||||
MeshSurfaceIndexes.Push((int)i);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue