TerraForge3D
2.3.1
3D Terrain And Landscape Generator
LightManager.h
1
#pragma once
2
3
#include "glm/glm.hpp"
4
#include "json/json.hpp"
5
6
class
LightManager
7
{
8
public
:
9
LightManager
();
10
~LightManager
();
11
12
void
ShowSettings(
bool
renderWindow =
false
,
bool
*pOpen =
nullptr
);
13
14
nlohmann::json
Save();
15
void
Load(
nlohmann::json
data);
16
17
float
color[4];
18
float
ambientColor[4];
19
float
strength;
20
glm::vec3 position;
21
22
int
lightManagerID;
23
};
LightManager
Definition:
LightManager.h:7
nlohmann::basic_json
a class to store JSON values
Definition:
json.hpp:17860
TerraForge3D
include
Lighting
LightManager.h
Generated on Thu Apr 7 2022 14:10:50 for TerraForge3D by
1.9.3