|
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 |
|
|
45d8cfffbf
|
Rename "to_<type>" functions to "as_<type>"
'to' implies a copy, 'as' implies reinterpret.
|
2012-04-12 16:08:06 +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 |
|
|
2e091079d2
|
Don't abbreviate the util::range::rand function
|
2011-10-03 19:20:14 +11:00 |
|
|
ee1439e5fc
|
Add trivial rgba colour class
|
2011-09-13 15:14:12 +10:00 |
|