Describe your issue
Not strictly a bug since the hsv_to_rgb header does specify a range [0, 360] for the hue, but since the main point of HSV colormaps is hue periodicity, it would be nice if hsv_to_rgb worked correctly for all input h (right now it gives undefined output for negative hues). This amount to the change:
hh = ((360 + ((int)h % 360)) % 360) / 60.;
Check all that apply (change to [x])
See https://libigl.github.io/CONTRIBUTING/#bugreport for more tips.
Describe your issue
Not strictly a bug since the
hsv_to_rgbheader does specify a range [0, 360] for the hue, but since the main point of HSV colormaps is hue periodicity, it would be nice ifhsv_to_rgbworked correctly for all input h (right now it gives undefined output for negative hues). This amount to the change:Check all that apply (change to
[x])devbranch and the problem persistsSee https://libigl.github.io/CONTRIBUTING/#bugreport for more tips.