mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
Introduced Content, ContentIndices, no more integer ids hardcoded, common refactor
This commit is contained in:
parent
f2f9343737
commit
3b03464d27
35 changed files with 472 additions and 279 deletions
|
|
@ -1,17 +1,19 @@
|
|||
#ifndef LIGHTING_LIGHTING_H_
|
||||
#define LIGHTING_LIGHTING_H_
|
||||
|
||||
class Content;
|
||||
class Chunks;
|
||||
class LightSolver;
|
||||
|
||||
class Lighting {
|
||||
Chunks* chunks = nullptr;
|
||||
LightSolver* solverR = nullptr;
|
||||
LightSolver* solverG = nullptr;
|
||||
LightSolver* solverB = nullptr;
|
||||
LightSolver* solverS = nullptr;
|
||||
const Content* const content;
|
||||
Chunks* chunks;
|
||||
LightSolver* solverR;
|
||||
LightSolver* solverG;
|
||||
LightSolver* solverB;
|
||||
LightSolver* solverS;
|
||||
public:
|
||||
Lighting(Chunks* chunks);
|
||||
Lighting(const Content* content, Chunks* chunks);
|
||||
~Lighting();
|
||||
|
||||
void clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue