You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Remove duplicated declaration of RoundToInt() from Mathf
(cherry picked from commit 9e2e6bb1e2)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
486f4d2769
commit
1da969736f
@@ -225,11 +225,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;
|
||||||
|
|||||||
Reference in New Issue
Block a user