mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Base content package + ContentLoader
This commit is contained in:
parent
6708e1ef86
commit
c8a283c645
33 changed files with 318 additions and 112 deletions
|
|
@ -1,6 +1,12 @@
|
|||
#include "Block.h"
|
||||
|
||||
Block::Block(std::string name, std::string texture) : name(name),
|
||||
textureFaces{texture,texture,texture,texture,texture,texture},
|
||||
emission{0,0,0}{
|
||||
Block::Block(std::string name)
|
||||
: name(name),
|
||||
textureFaces({"notfound","notfound","notfound",
|
||||
"notfound","notfound","notfound",}) {
|
||||
|
||||
}
|
||||
|
||||
Block::Block(std::string name, std::string texture) : name(name),
|
||||
textureFaces{texture,texture,texture,texture,texture,texture} {
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue