summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Cho <mysticfallband@gmail.com>2018-04-14 09:15:20 +0900
committerXavier Cho <mysticfallband@gmail.com>2018-04-17 07:39:37 +0900
commit9e2e6bb1e236e5d99d74dca0cd5d31d533b76c2e (patch)
treee9e1efc03a8c578564d8c3cccff776c6e6a60ede
parent7b5703bc41460c5c8b955f879190625da85a2a81 (diff)
downloadredot-engine-9e2e6bb1e236e5d99d74dca0cd5d31d533b76c2e.tar.gz
Remove duplicated declaration of RoundToInt() from Mathf
-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 bbee106018..040e7bf564 100644
--- a/modules/mono/glue/cs_files/Mathf.cs
+++ b/modules/mono/glue/cs_files/Mathf.cs
@@ -227,11 +227,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;