diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-03-13 17:55:58 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-03-13 17:55:58 +0100 |
commit | 8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f (patch) | |
tree | d7fea08c83a928fcc08c787b93e594d2d7999622 /src/World.hpp | |
parent | Implemented basic lighting (diff) | |
download | AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.tar AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.tar.gz AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.tar.bz2 AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.tar.lz AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.tar.xz AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.tar.zst AltCraft-8616ce6a0bfd4a6c31d4f6dded4137ad9eb2ba2f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/World.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/World.hpp b/src/World.hpp index 6800e46..165e73d 100644 --- a/src/World.hpp +++ b/src/World.hpp @@ -87,5 +87,9 @@ public: unsigned char GetBlockLight(Vector pos); + unsigned char GetBlockLight(const Vector &blockPos, const Section *section, const Section *xp, const Section *xn, const Section *yp, const Section *yn, const Section *zp, const Section *zn); + unsigned char GetBlockSkyLight(Vector pos); + + unsigned char GetBlockSkyLight(const Vector &blockPos, const Section *section, const Section *xp, const Section *xn, const Section *yp, const Section *yn, const Section *zp, const Section *zn); };
\ No newline at end of file |