mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
rename Level.chunksStorage to Level.chunks
This commit is contained in:
parent
70370904db
commit
48d94036fd
14 changed files with 46 additions and 51 deletions
|
|
@ -27,7 +27,7 @@ std::unique_ptr<VoxelFragment> VoxelFragment::create(
|
|||
if (crop) {
|
||||
VoxelsVolume volume(size.x, size.y, size.z);
|
||||
volume.setPosition(start.x, start.y, start.z);
|
||||
blocks_agent::get_voxels(*level.chunksStorage, &volume);
|
||||
blocks_agent::get_voxels(*level.chunks, &volume);
|
||||
|
||||
auto end = start + size;
|
||||
|
||||
|
|
@ -52,7 +52,7 @@ std::unique_ptr<VoxelFragment> VoxelFragment::create(
|
|||
|
||||
VoxelsVolume volume(size.x, size.y, size.z);
|
||||
volume.setPosition(start.x, start.y, start.z);
|
||||
blocks_agent::get_voxels(*level.chunksStorage, &volume);
|
||||
blocks_agent::get_voxels(*level.chunks, &volume);
|
||||
|
||||
auto volVoxels = volume.getVoxels();
|
||||
std::vector<voxel> voxels(size.x * size.y * size.z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue