mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
Backlight for tranparent blocks
This commit is contained in:
parent
d2c87f4ba5
commit
b472626d8d
5 changed files with 25 additions and 14 deletions
|
|
@ -23,7 +23,7 @@ public:
|
|||
std::shared_ptr<Chunk> get(int x, int z) const;
|
||||
void store(std::shared_ptr<Chunk> chunk);
|
||||
void remove(int x, int y);
|
||||
void getVoxels(VoxelsVolume* volume) const;
|
||||
void getVoxels(VoxelsVolume* volume, bool backlight=false) const;
|
||||
std::shared_ptr<Chunk> create(int x, int z);
|
||||
|
||||
light_t getLight(int x, int y, int z, ubyte channel) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue