Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Zylann committed Mar 3, 2024
1 parent 01946f5 commit cd6a1ed
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions terrain/instancing/voxel_instancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1325,16 +1325,6 @@ void VoxelInstancer::update_block_from_transforms( //
}
}

static const InstanceBlockData::LayerData *find_layer_data(const InstanceBlockData &instances_data, int id) {
for (size_t i = 0; i < instances_data.layers.size(); ++i) {
const InstanceBlockData::LayerData &layer = instances_data.layers[i];
if (layer.id == id) {
return &layer;
}
}
return nullptr;
}

void VoxelInstancer::create_render_blocks(Vector3i render_grid_position, int lod_index, Array surface_arrays) {
ZN_PROFILE_SCOPE();
ZN_ASSERT_RETURN(_library.is_valid());
Expand Down

0 comments on commit cd6a1ed

Please sign in to comment.