Fix old struct type
This commit is contained in:
parent
d61da56c5b
commit
21daedd5dc
@ -104,8 +104,8 @@ public:
|
|||||||
data_lod0.map.write_box(
|
data_lod0.map.write_box(
|
||||||
voxel_box, channel, action, [&generator](VoxelBufferInternal &voxels, Vector3i pos) {
|
voxel_box, channel, action, [&generator](VoxelBufferInternal &voxels, Vector3i pos) {
|
||||||
if (generator.is_valid()) {
|
if (generator.is_valid()) {
|
||||||
VoxelBlockRequest r{ voxels, pos, 0 };
|
VoxelGenerator::VoxelQueryData q{ voxels, pos, 0 };
|
||||||
generator->generate_block(r);
|
generator->generate_block(q);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -126,8 +126,8 @@ public:
|
|||||||
data_lod0.map.write_box_2(
|
data_lod0.map.write_box_2(
|
||||||
voxel_box, channel1, channel2, action, [&generator](VoxelBufferInternal &voxels, Vector3i pos) {
|
voxel_box, channel1, channel2, action, [&generator](VoxelBufferInternal &voxels, Vector3i pos) {
|
||||||
if (generator.is_valid()) {
|
if (generator.is_valid()) {
|
||||||
VoxelBlockRequest r{ voxels, pos, 0 };
|
VoxelGenerator::VoxelQueryData q{ voxels, pos, 0 };
|
||||||
generator->generate_block(r);
|
generator->generate_block(q);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user