Split doom specific surface data from common/gpu surface data
This commit is contained in:
parent
87eb89ad33
commit
356ad2fe9f
9 changed files with 110 additions and 97 deletions
|
|
@ -557,7 +557,7 @@ void VkLevelMeshUploader::UploadSurfaces()
|
|||
SurfaceInfo* surfaces = (SurfaceInfo*)(data + datapos);
|
||||
for (int j = 0, count = range.Size; j < count; j++)
|
||||
{
|
||||
LevelMeshSurface* surface = Mesh->Mesh->GetSurface(range.Offset + j);
|
||||
LevelMeshSurface* surface = &Mesh->Mesh->Mesh.Surfaces[range.Offset + j];
|
||||
|
||||
SurfaceInfo info;
|
||||
info.Normal = FVector3(surface->Plane.X, surface->Plane.Z, surface->Plane.Y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue