summaryrefslogtreecommitdiff
path: root/scene/3d/gi_probe.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-11-05 12:49:07 +0100
committerGitHub <noreply@github.com>2020-02-11 12:05:24 +0100
commit7f430b03a70e70ba9f63c192beb2f31dd884f907 (patch)
tree281fe803d2da04ee13d940bdbe692ee5bdcce8b0 /scene/3d/gi_probe.cpp
parentb509c814fcf91dbd4a9c19a307882dc26dec13e3 (diff)
parentfff4240bb43a9e5680017087def8b884a23ff657 (diff)
Merge pull request #33359 from akien-mga/vulkan
Fix code formatting issues and VS compilation
Diffstat (limited to 'scene/3d/gi_probe.cpp')
-rw-r--r--scene/3d/gi_probe.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/3d/gi_probe.cpp b/scene/3d/gi_probe.cpp
index e3ee53b6e2..1d86575b16 100644
--- a/scene/3d/gi_probe.cpp
+++ b/scene/3d/gi_probe.cpp
@@ -415,7 +415,6 @@ Vector3i GIProbe::get_estimated_cell_size() const {
int longest_axis = bounds.get_longest_axis_index();
axis_cell_size[longest_axis] = 1 << cell_subdiv;
-
for (int i = 0; i < 3; i++) {
if (i == longest_axis)
@@ -431,7 +430,7 @@ Vector3i GIProbe::get_estimated_cell_size() const {
}
}
- return Vector3i(axis_cell_size[0],axis_cell_size[1],axis_cell_size[2]);
+ return Vector3i(axis_cell_size[0], axis_cell_size[1], axis_cell_size[2]);
}
void GIProbe::bake(Node *p_from_node, bool p_create_visual_debug) {