mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 12:31:51 +00:00
optimize BlocksController::randomTick & reduce small allocations count
This commit is contained in:
parent
fb0ad19a65
commit
f1a015d3e7
3 changed files with 6 additions and 14 deletions
|
|
@ -40,6 +40,8 @@ public:
|
|||
bool dirtyHeights : 1;
|
||||
} flags {};
|
||||
|
||||
uint64_t lastRandomTickId = -1;
|
||||
|
||||
/// @brief Block inventories map where key is index of block in voxels array
|
||||
ChunkInventoriesMap inventories;
|
||||
/// @brief Blocks metadata heap
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue