Skip to content

Commit

Permalink
Fix missing renames
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Apr 7, 2024
1 parent e168327 commit 754785b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/voxel_data_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class VoxelDataMap {
gen_func(block->get_voxels(), block_pos << get_block_size_pow2());
}
const Vector3i block_origin = block_to_voxel(block_pos);
Box3i local_box(voxel_box.pos - block_origin, voxel_box.size);
Box3i local_box(voxel_box.position - block_origin, voxel_box.size);
local_box.clip(Box3i(Vector3i(), block_size));
block->get_voxels().write_box(local_box, channel, action, block_origin);
});
Expand All @@ -190,7 +190,7 @@ class VoxelDataMap {
gen_func(block->get_voxels(), block_pos << get_block_size_pow2());
}
const Vector3i block_origin = block_to_voxel(block_pos);
Box3i local_box(voxel_box.pos - block_origin, voxel_box.size);
Box3i local_box(voxel_box.position - block_origin, voxel_box.size);
local_box.clip(Box3i(Vector3i(), block_size));
block->get_voxels().write_box_2_template<F, uint16_t, uint16_t>(
local_box, channel0, channel1, action, block_origin);
Expand Down

0 comments on commit 754785b

Please sign in to comment.