Remove unused MeshUVIndex array

This commit is contained in:
Magnus Norddahl 2023-09-30 22:58:37 +02:00
commit 925e0b114d
2 changed files with 0 additions and 7 deletions

View file

@ -283,11 +283,6 @@ void DoomLevelSubmesh::CreateIndexes()
unsigned int pos = s.startVertIndex;
FVector3* verts = &MeshVertices[pos];
for (int j = 0; j < numVerts; j++)
{
MeshUVIndex.Push(j);
}
s.startElementIndex = MeshElements.Size();
s.numElements = 0;
@ -339,7 +334,6 @@ void DoomLevelSubmesh::UpdateDynamic(FLevelLocals& doomMap)
MeshVertices.Clear();
MeshVertexUVs.Clear();
MeshElements.Clear();
MeshUVIndex.Clear();
MeshSurfaceIndexes.Clear();
LightmapUvs.Clear();