second go
This commit is contained in:
parent
b24c7ee546
commit
75f42aee7e
@ -69,7 +69,7 @@ static void vips_HSV2sRGB_line(VipsColour *colour, VipsPel *out, VipsPel **in,
|
|||||||
for (i = 0; i < width; i++) {
|
for (i = 0; i < width; i++) {
|
||||||
|
|
||||||
c = V* S / 255.0f;
|
c = V* S / 255.0f;
|
||||||
x = C * (1 - abs(fmod(H / sixth_of_char, 2) - 1));
|
x = c * (1 - abs(fmod(H / sixth_of_char, 2) - 1));
|
||||||
m = V - c;
|
m = V - c;
|
||||||
|
|
||||||
if (H < sixth_of_char) {
|
if (H < sixth_of_char) {
|
||||||
|
Loading…
Reference in New Issue
Block a user