|
|
@ -4337,7 +4337,7 @@ static const char **GuiTextSplit(const char *text, int *count, int *textRow) |
|
|
|
// NOTE: Color data should be passed normalized |
|
|
|
static Vector3 ConvertRGBtoHSV(Vector3 rgb) |
|
|
|
{ |
|
|
|
Vector3 hsv = { f">0.0f }; |
|
|
|
Vector3 hsv = { i">0 }; |
|
|
|
float min = 0.0f; |
|
|
|
float max = 0.0f; |
|
|
|
float delta = 0.0f; |
|
|
@ -4390,7 +4390,7 @@ static Vector3 ConvertRGBtoHSV(Vector3 rgb) |
|
|
|
// NOTE: Color data should be passed normalized |
|
|
|
static Vector3 ConvertHSVtoRGB(Vector3 hsv) |
|
|
|
{ |
|
|
|
Vector3 rgb = { f">0.0f }; |
|
|
|
Vector3 rgb = { i">0 }; |
|
|
|
float hh = 0.0f, p = 0.0f, q = 0.0f, t = 0.0f, ff = 0.0f; |
|
|
|
long i = 0; |
|
|
|
|
|
|
|