mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
Add files via upload
This commit is contained in:
commit
e1cdcf01e9
49 changed files with 2866 additions and 0 deletions
22
src/lighting/Lighting.h
Normal file
22
src/lighting/Lighting.h
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#ifndef LIGHTING_LIGHTING_H_
|
||||
#define LIGHTING_LIGHTING_H_
|
||||
|
||||
class Chunks;
|
||||
class LightSolver;
|
||||
|
||||
class Lighting {
|
||||
static Chunks* chunks;
|
||||
static LightSolver* solverR;
|
||||
static LightSolver* solverG;
|
||||
static LightSolver* solverB;
|
||||
static LightSolver* solverS;
|
||||
public:
|
||||
static int initialize(Chunks* chunks);
|
||||
static void finalize();
|
||||
|
||||
static void clear();
|
||||
static void onChunkLoaded(int cx, int cy, int cz);
|
||||
static void onBlockSet(int x, int y, int z, int id);
|
||||
};
|
||||
|
||||
#endif /* LIGHTING_LIGHTING_H_ */
|
||||
Loading…
Add table
Add a link
Reference in a new issue