mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 20:11:50 +00:00
fix block solidity property
This commit is contained in:
parent
325f0b1f02
commit
5fdff1f8f6
3 changed files with 18 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue