aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorXavier Cho2018-04-14 09:15:20 +0900
committerHein-Pieter van Braam2018-04-29 14:15:09 +0200
commit1da969736f54f55e7a9541f18449852e793d48a9 (patch)
treee31c2231acc5473d18aab46a2bd844430e4faa6a /modules
parent486f4d27690430da4b9c795e763671246b2915b4 (diff)
downloadgodot-1da969736f54f55e7a9541f18449852e793d48a9.tar.gz
godot-1da969736f54f55e7a9541f18449852e793d48a9.tar.zst
godot-1da969736f54f55e7a9541f18449852e793d48a9.zip
Remove duplicated declaration of RoundToInt() from Mathf
(cherry picked from commit 9e2e6bb1e236e5d99d74dca0cd5d31d533b76c2e)
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/cs_files/Mathf.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/mono/glue/cs_files/Mathf.cs b/modules/mono/glue/cs_files/Mathf.cs
index c32d5c420..0d20a1256 100644
--- a/modules/mono/glue/cs_files/Mathf.cs
+++ b/modules/mono/glue/cs_files/Mathf.cs
@@ -225,11 +225,6 @@ namespace Godot
return (real_t)Math.Round(s);
}
- public static int RoundToInt(real_t s)
- {
- return (int)Math.Round(s);
- }
-
public static int Sign(int s)
{
return s < 0 ? -1 : 1;