fponticelli / thx.color

General purpose color library for Haxe
http://thx-lib.org
MIT License
38 stars 4 forks source link

Rename Rgb8 to Rgb #4

Closed fponticelli closed 11 years ago

fponticelli commented 11 years ago

Just because it is what most people expect.

jdonaldson commented 11 years ago

I agree. I was also thinking we could also call Rgb64 RgbFloat, to emphasize the fact that we're using floating point precision for representation, and not huge integers.

fponticelli commented 11 years ago

RgbFloat doesn't say if we use one Float per channel or one Float in total. The other think I don't really like is the length. What about RgbHR (High res) or RgbHD. On the other hand putting 2 acronyms in the same word is not really nice (also because if we want to stick to Haxe practices it should be RGBHD).

fponticelli commented 11 years ago

done. Also adopted RGBHR for now ... it says what it does but probably there is another option

jdonaldson commented 11 years ago

That sounds fine.. One other option is RGBX. Because adding an x implies extended... On Jan 19, 2013 2:41 PM, "Franco Ponticelli" notifications@github.com wrote:

done. Also adopted RGBHR for now ... it says what it does but probably there is another option

— Reply to this email directly or view it on GitHubhttps://github.com/fponticelli/thx.color/issues/4#issuecomment-12462533.

fponticelli commented 11 years ago

I like it ... neither is perfect because both require some documentation to transmit their purpose but RGBX is shorter :)

jdonaldson commented 11 years ago

Adding an x to names is the Haxe way!

fponticelli commented 11 years ago

will be done :)