Round sampledist to power of 2

This commit is contained in:
RaveYard 2023-09-04 12:35:36 +02:00 committed by Magnus Norddahl
commit 137b144fe1
2 changed files with 12 additions and 2 deletions

View file

@ -59,7 +59,7 @@ struct LevelMeshSurface
int sectorGroup = 0;
BBox bounds;
int sampleDimension = 0;
uint16_t sampleDimension = 0;
// Lightmap world coordinates for the texture
FVector3 worldOrigin = { 0.f, 0.f, 0.f };