update blocks.fill and fragment.save commands

This commit is contained in:
MihailRis
2024-10-28 21:05:30 +03:00
parent 44cfc8ab75
commit a78315b39c
2 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ std::unique_ptr<VoxelFragment> VoxelFragment::create(
bool entities
) {
auto start = glm::min(a, b);
auto size = glm::abs(a - b);
auto size = glm::abs(a - b) + 1;
if (crop) {
VoxelsVolume volume(size.x, size.y, size.z);