diff options
Diffstat (limited to 'include/godot_cpp/core/math.hpp')
-rw-r--r-- | include/godot_cpp/core/math.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/godot_cpp/core/math.hpp b/include/godot_cpp/core/math.hpp index fb7178e..7eb2394 100644 --- a/include/godot_cpp/core/math.hpp +++ b/include/godot_cpp/core/math.hpp @@ -163,7 +163,7 @@ inline double sinc(double p_x) { } inline float sincn(float p_x) { - return sinc(Math_PI * p_x); + return (float)sinc(Math_PI * p_x); } inline double sincn(double p_x) { return sinc(Math_PI * p_x); |