From 75a9c87b50cef2f1d749bd9042a9348bc28b4c09 Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 23 Oct 2022 02:48:51 +0200 Subject: Sun lighting --- src/World/Chunk.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/World/Chunk.hpp') 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, 4> face_tex_coords(BlockType type, BlockSide side); + static std::array, 4> face_normals(BlockSide side); struct BlockData { BlockType type; -- cgit 1.4.1