fix typo and update constant with new name

This commit is contained in:
Scott Draves
2015-04-12 09:23:32 -04:00
parent 0eb68c545d
commit facfbd6292
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ void interpolate_cmap(flam3_palette cmap, double blend,
/* Correct the first hue to go the short way around */
if ((s[0] - t[0]) > 3.0) /* first hue much bigger than second hue */
s[0] -= 6.0
s[0] -= 6.0;
if ((s[0] - t[0]) < -3.0) /* first hue much smaller than second hue */
s[0] += 6.0;