mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
8 lines
187 B
C++
8 lines
187 B
C++
#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}{
|
|
}
|