Fixed referencing error

This commit is contained in:
Robert 2020-05-18 20:07:59 +02:00
parent 7790ee26f1
commit 1450875965
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@ namespace sdlu
return color; return color;
} }
Color& Color::FromHSV(Uint16 h, Uint8 s, Uint8 v) Color Color::FromHSV(Uint16 h, Uint8 s, Uint8 v)
{ {
// Normalize parameters // Normalize parameters
// H : [0, 360) // H : [0, 360)

View file

@ -58,7 +58,7 @@ namespace sdlu
* *
* @return An RGBA Color object generated from HSV * @return An RGBA Color object generated from HSV
*/ */
static Color& FromHSV(Uint16 h, Uint8 s, Uint8 v); static Color FromHSV(Uint16 h, Uint8 s, Uint8 v);
/////////////////// DEFAULT COLORS /////////////////// /////////////////// DEFAULT COLORS ///////////////////