mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Add files via upload
This commit is contained in:
commit
e1cdcf01e9
49 changed files with 2866 additions and 0 deletions
8
src/voxels/Block.cpp
Normal file
8
src/voxels/Block.cpp
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#include "Block.h"
|
||||
|
||||
Block* Block::blocks[256];
|
||||
|
||||
Block::Block(unsigned int id, int texture) : id(id),
|
||||
textureFaces{texture,texture,texture,texture,texture,texture},
|
||||
emission{0,0,0}{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue