address review

This commit is contained in:
Misha
2023-06-28 18:15:42 +03:00
parent a919eeb7f4
commit a883f37b9d
9 changed files with 65 additions and 61 deletions

View File

@@ -10,7 +10,7 @@ void ConvertHSVToRGB(float h, float s, float v, float *r_out, float *b_out, floa
double v12;
double v13;
if (s > 0.5f)
calc = ((1.0f - v) * s + v); //
calc = (1.0f - v) * s + v;
else
calc = (v + 1.0) * s;
if (calc <= 0.0)