Add files via upload

This commit is contained in:
MihailRis 2021-04-25 16:08:48 +03:00 • committed by GitHub
commit e1cdcf01e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
49 changed files with 2866 additions and 0 deletions

8
src/voxels/Block.cpp Normal file
View 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}{
}