diff options
| author | Xavier Cho | 2018-04-14 09:15:20 +0900 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-04-29 14:15:09 +0200 |
| commit | 1da969736f54f55e7a9541f18449852e793d48a9 (patch) | |
| tree | e31c2231acc5473d18aab46a2bd844430e4faa6a /modules | |
| parent | 486f4d27690430da4b9c795e763671246b2915b4 (diff) | |
| download | godot-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.cs | 5 |
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; |
