mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Some refactor
This commit is contained in:
parent
123f3ae6ff
commit
4ceba017c7
11 changed files with 92 additions and 27 deletions
|
|
@ -50,7 +50,7 @@ float bytes2Float(char* srcs, unsigned int offset){
|
|||
return *(float*)(&value);
|
||||
}
|
||||
|
||||
WorldFiles::WorldFiles(const char* directory, size_t mainBufferCapacity) : directory(directory){
|
||||
WorldFiles::WorldFiles(std::string directory, size_t mainBufferCapacity) : directory(directory){
|
||||
mainBufferIn = new char[CHUNK_VOL*2];
|
||||
mainBufferOut = new char[mainBufferCapacity];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue