the "getters" in ofColor such as getHue() and getSaturation() return the "got" value as float. however the compound getHsb() want 3 float references. the pattern is not aligned (and not super-OF-typical).
this adds a plain getHsb() that returns a glm::vec3 with native color values, with a companion getNormalizedHsb() for 0..1 values.
the "getters" in ofColor such as
getHue()
andgetSaturation()
return the "got" value as float. however the compoundgetHsb()
want 3 float references. the pattern is not aligned (and not super-OF-typical).this adds a plain
getHsb()
that returns a glm::vec3 with native color values, with a companiongetNormalizedHsb()
for 0..1 values.