On Wednesday, 24 June 2015 at 16:05:31 UTC, Manu wrote:
On a tangent, I need a name for the struct that will represent
HSL/HSV/HSI/HCY.
They're all basically identical, and might as well be a
parameter to a
shared type... but I can't think of a name for that type! >_<
I can't reasonably call it any of those or it would be confused,
rather, each of those would be an alias for an instantiation of
each
type.
I'm thinking along the lines of PolarRGB? It's not really that
though.
I can't think of any other good names.
alias HSL = PolarRGB!(Type.HSL);
Naming things is so hard!
Since H(ue) seems to be the only shared property of all those RGB
representations one of the following names might be acceptable:
HRGB
HueRGB
HueBasedRGB
HueOrientedRGB
HueTypeRGB
I'm not confident, though. :-(
Fool