Remove duplicated declaration of RoundToInt() from Mathf

This commit is contained in:
Xavier Cho 2018-04-14 09:15:20 +09:00
parent 7b5703bc41
commit 9e2e6bb1e2
1 changed files with 0 additions and 5 deletions

View File

@ -227,11 +227,6 @@ namespace Godot
return (real_t)Math.Round(s); return (real_t)Math.Round(s);
} }
public static int RoundToInt(real_t s)
{
return (int)Math.Round(s);
}
public static int Sign(int s) public static int Sign(int s)
{ {
return (s < 0) ? -1 : 1; return (s < 0) ? -1 : 1;