Add struct LightProbe
This commit is contained in:
parent
aca088d601
commit
ac1da90d34
2 changed files with 12 additions and 0 deletions
9
src/common/rendering/hwrenderer/data/hw_lightprobe.h
Normal file
9
src/common/rendering/hwrenderer/data/hw_lightprobe.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include "vectors.h"
|
||||
|
||||
struct LightProbe
|
||||
{
|
||||
FVector3 position;
|
||||
int index = 0;
|
||||
};
|
||||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue