Upload acceleration structures for the level mesh

This commit is contained in:
Magnus Norddahl 2022-06-05 23:24:53 +02:00 committed by Christoph Oelckers
commit 97073410c4
12 changed files with 802 additions and 0 deletions

View file

@ -3266,6 +3266,7 @@ void MapLoader::LoadLevel(MapData *map, const char *lumpname, int position)
Level->FinalizePortals(); // finalize line portals after polyobjects have been initialized. This info is needed for properly flagging them.
Level->aabbTree = new DoomLevelAABBTree(Level);
Level->levelMesh = new DoomLevelMesh(*Level);
}
//==========================================================================