fix block solidity property

This commit is contained in:
MihailRis
2025-07-13 22:56:06 +03:00
parent 325f0b1f02
commit 5fdff1f8f6
3 changed files with 18 additions and 8 deletions
+6 -1
View File
@@ -153,6 +153,11 @@ struct Variant {
CullingMode culling = CullingMode::DEFAULT;
/// @brief Influences visible block sides for transparent blocks
uint8_t drawGroup = 0;
struct {
/// @brief is the block completely opaque for render
bool solid = true;
} rt;
};
struct Variants {
@@ -258,7 +263,7 @@ public:
/// @brief block runtime integer id
blockid_t id;
/// @brief is the block completely opaque for render and raycast
/// @brief is the block completely opaque for raycast
bool solid = true;
/// @brief does the block emit any lights