mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add Chunk.blocksMetadata
This commit is contained in:
parent
3d219b9a1c
commit
44753904dc
3 changed files with 13 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <utility>
|
||||
|
||||
#include "core_defs.hpp"
|
||||
#include "data/StructLayout.hpp"
|
||||
#include "util/stringutil.hpp"
|
||||
|
||||
std::string to_string(BlockModel model) {
|
||||
|
|
@ -102,6 +103,8 @@ Block::Block(const std::string& name)
|
|||
} {
|
||||
}
|
||||
|
||||
Block::~Block() {}
|
||||
|
||||
Block::Block(std::string name, const std::string& texture)
|
||||
: name(std::move(name)),
|
||||
textureFaces {texture, texture, texture, texture, texture, texture} {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue