diff options
| author | Mel <einebeere@gmail.com> | 2022-10-23 02:48:51 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-23 02:48:51 +0200 |
| commit | 75a9c87b50cef2f1d749bd9042a9348bc28b4c09 (patch) | |
| tree | 8d82f3cbbb5bdc63c7e5b6431dac3d49b23a478d /src/World/Chunk.hpp | |
| parent | 589bfb5cad0052856077ce867f3858ca3741d95d (diff) | |
| download | meowcraft-75a9c87b50cef2f1d749bd9042a9348bc28b4c09.tar.zst meowcraft-75a9c87b50cef2f1d749bd9042a9348bc28b4c09.zip | |
Sun lighting
Diffstat (limited to 'src/World/Chunk.hpp')
| -rw-r--r-- | src/World/Chunk.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World/Chunk.hpp b/src/World/Chunk.hpp index 4c7810d..7415d7c 100644 --- a/src/World/Chunk.hpp +++ b/src/World/Chunk.hpp @@ -25,6 +25,7 @@ private: bool is_face_visible(uint32_t x, uint32_t y, uint32_t z, BlockSide side); static std::array<Vector<2>, 4> face_tex_coords(BlockType type, BlockSide side); + static std::array<Vector<3>, 4> face_normals(BlockSide side); struct BlockData { BlockType type; |
