mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 04:21:50 +00:00
WorldRenderer and HudRenderer classes
This commit is contained in:
parent
5955c74208
commit
d3f29f8ace
8 changed files with 43 additions and 216 deletions
|
|
@ -300,7 +300,7 @@ inline void _renderXBlock(std::vector<float>& buffer, int x, int y, int z, const
|
|||
float xs = (float)(char)rand / 512;
|
||||
float zs = (float)(char)(rand >> 8) / 512;
|
||||
|
||||
if (block->type != 2){
|
||||
if (block->model != 2){
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue