Skip to content

Commit

Permalink
Whitespace fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FishOfTheNorthStar committed May 10, 2024
1 parent eef9ed1 commit 5ba80c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/terrain_3d_storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ Vector3 Terrain3DStorage::get_mesh_vertex(int32_t p_lod, HeightFilter p_filter,
height = get_height(p_global_position);
for (int32_t dx = -step / 2; dx < step / 2; dx += 1) {
for (int32_t dz = -step / 2; dz < step / 2; dz += 1) {
Vector3 position = p_global_position + Vector3(dx, 0.f, dz) * _terrain->get_mesh_vertex_spacing();
Vector3 position = p_global_position + Vector3(dx, 0.f, dz) * _terrain->get_mesh_vertex_spacing();
if (is_hole(get_control(position))) {
height = NAN;
break;
Expand Down

0 comments on commit 5ba80c2

Please sign in to comment.