hsv2rgb

Converts a 3 dimensional color-vector from the HSV to the RGB colorspace. RGB colors will be in the range [0, 1]. This function is not marked es pure, since it depends on std.math.floor, which is also not pure.

  1. vec3 hsv2rgb(vec3 inp)
    @safe nothrow
    hsv2rgb
  2. vec4 hsv2rgb(vec4 inp)

Meta