mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
even more steps sounds test
This commit is contained in:
parent
015b1c2ed7
commit
90f3373f46
11 changed files with 56 additions and 22 deletions
|
|
@ -20,6 +20,8 @@ inline constexpr uint FACE_PZ = 5;
|
|||
|
||||
inline constexpr uint BLOCK_AABB_GRID = 16;
|
||||
|
||||
inline std::string DEFAULT_MATERIAL = "base:stone";
|
||||
|
||||
struct block_funcs_set {
|
||||
bool init: 1;
|
||||
bool update: 1;
|
||||
|
|
@ -96,6 +98,8 @@ public:
|
|||
std::vector<glm::vec3> modelExtraPoints = {}; //initially made for tetragons
|
||||
std::vector<UVRegion> modelUVs = {}; // boxes' tex-UVs also there
|
||||
|
||||
std::string material = DEFAULT_MATERIAL;
|
||||
|
||||
/// @brief Light emission R, G, B, S (sky lights: sun, moon, radioactive clouds)
|
||||
uint8_t emission[4] {0, 0, 0, 0};
|
||||
/// @brief Influences visible block sides for transparent blocks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue