WIP Cleanup of maploader

This commit is contained in:
RaveYard 2023-08-31 20:49:26 +02:00 committed by Magnus Norddahl
commit 197b746fef
3 changed files with 101 additions and 106 deletions

View file

@ -70,6 +70,8 @@ public:
TArray<Surface> Surfaces;
TArray<float> LightmapUvs;
static_assert(alignof(FVector2) == alignof(float[2]) && sizeof(FVector2) == sizeof(float) * 2);
void DumpMesh(const FString& filename) const;
int SetupLightmapUvs(int lightmapSize);