Brendan Zabarauskas
d5514fc982
Move contents of geom and core modules into new math module
...
Having these two modules separate made more sense when the library was divided into lmath and cgmath. Now that the two have been combined, it makes more sense to bundle these types in one module (I think).
2013-07-14 11:47:10 +10:00
Brendan Zabarauskas
d19e874b76
Remove unneccesary derefs
2013-07-14 00:55:46 +10:00
Brendan Zabarauskas
6a9d690c79
Arrange vector methods into traits
2013-07-13 23:37:38 +10:00
Brendan Zabarauskas
8973179b0d
Add impl_to_vec! and impl_as_vec! macros and use for points and colors
2013-07-12 19:20:09 +10:00
Brendan Zabarauskas
7615a55d84
More module re-arrangement
2013-07-12 16:32:12 +10:00
Brendan Zabarauskas
3656068f5c
Add impl_approx! macro
2013-07-12 11:22:14 +10:00
Brendan Zabarauskas
fd9fcd2075
Add normalize_channel method
2013-07-11 12:56:35 +10:00
Brendan Zabarauskas
8ae7f3dbad
Add rgb tests
2013-07-11 07:58:40 +10:00
Brendan Zabarauskas
ff439c9b1d
Comments ahoy
2013-07-10 20:46:14 +10:00
Brendan Zabarauskas
0d24a87a8e
Add svg color constants
2013-07-10 20:45:42 +10:00
Brendan Zabarauskas
e12f561930
Add channel and color normalization methods
2013-07-10 14:16:16 +10:00
Brendan Zabarauskas
58c3233fe3
Impl Color trait
2013-07-10 12:59:02 +10:00
Brendan Zabarauskas
290287a0b9
Add skeleton hex conversions
2013-07-10 10:58:55 +10:00
Brendan Zabarauskas
8adad636d1
Add RGBA and HSVA impls
2013-07-10 10:57:37 +10:00
Brendan Zabarauskas
7e70e826f2
Add generic to_channel method
2013-07-10 10:37:59 +10:00
Brendan Zabarauskas
23e21ac1b3
Improve trait bounds
2013-07-09 23:10:59 +10:00
Brendan Zabarauskas
d65aa944b9
Simplify color::channel traits
2013-07-09 22:50:20 +10:00
Brendan Zabarauskas
49715e6479
Merge some color modules
2013-07-09 21:28:23 +10:00
Brendan Zabarauskas
128e645a20
Relax type bounds
2013-07-09 17:05:19 +10:00
Brendan Zabarauskas
b9369247bf
Remove free standing color conversion functions
2013-07-09 16:53:24 +10:00
Brendan Zabarauskas
2ca90cb750
Fix color channel conversions
2013-07-09 16:42:19 +10:00
Brendan Zabarauskas
999782945c
Add color module
2013-07-08 17:39:33 +10:00