mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
inventory render optimized
This commit is contained in:
parent
714a49685f
commit
db2108171c
12 changed files with 285 additions and 255 deletions
|
|
@ -17,6 +17,8 @@ const int CHUNK_D = 16;
|
|||
const uint VOXEL_USER_BITS = 8;
|
||||
constexpr uint VOXEL_USER_BITS_OFFSET = sizeof(blockstate_t)*8-VOXEL_USER_BITS;
|
||||
|
||||
const int ITEM_ICON_SIZE = 48;
|
||||
|
||||
/* Chunk volume (count of voxels per Chunk) */
|
||||
constexpr int CHUNK_VOL = (CHUNK_W * CHUNK_H * CHUNK_D);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue