mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
gzip compress/decompress + refactor
This commit is contained in:
parent
3837cdcf95
commit
b0165b1014
10 changed files with 119 additions and 65 deletions
|
|
@ -21,8 +21,8 @@ class Chunks {
|
|||
const Content* const content;
|
||||
const ContentIndices* const contentIds;
|
||||
public:
|
||||
std::shared_ptr<Chunk>* chunks;
|
||||
std::shared_ptr<Chunk>* chunksSecond;
|
||||
std::vector<std::shared_ptr<Chunk>> chunks;
|
||||
std::vector<std::shared_ptr<Chunk>> chunksSecond;
|
||||
size_t volume;
|
||||
size_t chunksCount;
|
||||
size_t visible;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue