Commit Graph

13 Commits

Author SHA1 Message Date
75156cedc3 colour: remove redundant rgba member variables 2015-01-15 14:03:44 +11:00
ccc21b2ae8 colour: derive from detail::coord 2015-01-13 18:41:51 +11:00
25f21a66e4 colour: rename variables to r,g,b,a
for consistency with coord types
2015-01-13 10:50:12 +11:00
6f23e39459 colour: use floats for values
double is way too much precision for almost every application. we can
always add more templates or other insanity later.
2014-12-16 15:12:44 +11:00
b4dda9b9fa Move ostream operators into global namespace 2013-08-05 16:37:11 +10:00
745568db87 Add red/green/blue static colour definitions 2013-07-30 23:50:37 +10:00
c6106b0f53 Add static WHITE and BLACK colour constants 2012-06-13 14:41:19 +10:00
393d380001 Remove unnecessary scalar product for colour 2012-06-13 14:41:02 +10:00
ed990ba889 Move output operators into target's namespace 2012-04-24 18:12:07 +10:00
77942e008d Change my email to an active domain 2012-04-23 13:10:50 +10:00
b774a6490d Add scalar multiply for colour 2011-10-29 21:17:28 +11:00
d3baffc2e5 Add json extraction operator for colour 2011-10-29 21:17:10 +11:00
ee1439e5fc Add trivial rgba colour class 2011-09-13 15:14:12 +10:00