czm_hue
Adjusts the hue of a color.
Parameters:
Name | Type | Description |
---|---|---|
rgb |
vec3 | The color. |
adjustment |
float | The amount to adjust the hue of the color in radians. |
Returns:
float
The color with the hue adjusted.
Example
vec3 adjustHue = czm_hue(color, czm_pi); // The same as czm_hue(color, -czm_pi)