- changed shadowmap setup so that the AABB tree is owned and controlled by the map, not the renderer.

Needed to properly separate game logic from backend implementation, the shadowmap had both in the same object thanks to the old setup.
This commit is contained in:
Christoph Oelckers 2020-04-26 18:54:43 +02:00
commit ba0b42465d
14 changed files with 356 additions and 315 deletions

View file

@ -1573,6 +1573,7 @@ FLevelLocals::FLevelLocals() : Behaviors(this), tagManager(this)
FLevelLocals::~FLevelLocals()
{
if (localEventManager) delete localEventManager;
if (aabbTree) delete aabbTree;
}
//==========================================================================