mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix
This commit is contained in:
parent
dc10dc60c0
commit
93fac9960c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue