Fixed referencing error
This commit is contained in:
parent
7790ee26f1
commit
1450875965
|
@ -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)
|
||||||
|
|
|
@ -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 ///////////////////
|
||||||
|
|
Loading…
Reference in a new issue