summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/AABB.cs
diff options
context:
space:
mode:
authorXavier Cho <mysticfallband@gmail.com>2018-04-17 07:33:42 +0900
committerXavier Cho <mysticfallband@gmail.com>2018-04-17 07:39:37 +0900
commite59fad39245de82cb243da38ba149ccd0ed957e5 (patch)
treec226f049a3fa65dac3cbadc6989c0b6d13f0ddd7 /modules/mono/glue/cs_files/AABB.cs
parent94edd92248b4742e7d7a8e283da44d505957c50e (diff)
#18051: Do not use `var` in a for-loop, or where type is not obvious
Diffstat (limited to 'modules/mono/glue/cs_files/AABB.cs')
-rw-r--r--modules/mono/glue/cs_files/AABB.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/cs_files/AABB.cs b/modules/mono/glue/cs_files/AABB.cs
index 3304e418c8..f03d6403ef 100644
--- a/modules/mono/glue/cs_files/AABB.cs
+++ b/modules/mono/glue/cs_files/AABB.cs
@@ -335,7 +335,7 @@ namespace Godot
bool over = false;
bool under = false;
- for (var i = 0; i < 8; i++)
+ for (int i = 0; i < 8; i++)
{
if (plane.DistanceTo(points[i]) > 0)
over = true;
@@ -351,7 +351,7 @@ namespace Godot
real_t min = 0f;
real_t max = 1f;
- for (var i = 0; i < 3; i++)
+ for (int i = 0; i < 3; i++)
{
real_t seg_from = from[i];
real_t seg_to = to[i];