Add struct LightProbe

This commit is contained in:
RaveYard 2025-02-20 14:29:46 +01:00 committed by Magnus Norddahl
commit ac1da90d34
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,9 @@
#pragma once
#include "vectors.h"
struct LightProbe
{
FVector3 position;
int index = 0;
};

View file

@ -58,6 +58,8 @@
#include "doom_levelmesh.h"
#include "p_visualthinker.h"
#include "common/rendering/hwrenderer/data/hw_lightprobe.h"
//============================================================================
//
// This is used to mark processed portals for some collection functions.
@ -491,6 +493,7 @@ public:
EventManager *localEventManager = nullptr;
DoomLevelAABBTree* aabbTree = nullptr;
DoomLevelMesh* levelMesh = nullptr;
TArray<LightProbe> lightProbes;
// [ZZ] Destructible geometry information
TMap<int, FHealthGroup> healthGroups;