This commit is contained in:
MihailRis 2024-08-10 04:36:26 +03:00
parent dc10dc60c0
commit 93fac9960c

View File

@ -122,7 +122,7 @@ class BlocksRenderer {
// Does block allow to see other blocks sides (is it transparent)
inline constexpr bool isOpen(const glm::ivec3& pos, ubyte group) const {
inline bool isOpen(const glm::ivec3& pos, ubyte group) const {
auto id = voxelsBuffer->pickBlockId(
chunk->x * CHUNK_W + pos.x, pos.y, chunk->z * CHUNK_D + pos.z
);