From 2380f320e0977a0ab0488bd7138fddc8c8740e12 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Thu, 25 Oct 2018 16:13:51 +0200 Subject: Update GDNantive API Add missing Rect2 methods to GDNative API Add missing Quat methods to GDNative API Add missing NodePath methods to GDNative API Add missing String methods to GDNative API Add missing Array methods to GDNative API Add missing Basis methods to GDNative API Add missing Color methods to GDNative API Update gdnative_api.json --- core/color.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/color.cpp') diff --git a/core/color.cpp b/core/color.cpp index 55dd1ec6b9..ac314417ec 100644 --- a/core/color.cpp +++ b/core/color.cpp @@ -468,7 +468,7 @@ String Color::to_html(bool p_alpha) const { return txt; } -Color Color::from_hsv(float p_h, float p_s, float p_v, float p_a) { +Color Color::from_hsv(float p_h, float p_s, float p_v, float p_a) const { p_h = Math::fmod(p_h * 360.0f, 360.0f); if (p_h < 0.0) -- cgit v1.2.3