Bruno BELANYI
01d2c2d973
project: move to Cargo workspace
2020-03-24 21:47:09 +01:00
Antoine Martin
07dbad95b5
library: core: document color module
2020-03-22 00:14:25 +01:00
Bruno BELANYI
08d6d7c262
library: core: color: add clamp method
2020-03-18 23:18:58 +01:00
Bruno BELANYI
0644d453b8
library: core: color: add deserialization
2020-03-18 13:03:02 +01:00
Bruno BELANYI
58f9a508dc
library: core: color: add image::Rgbconversion
2020-03-17 23:28:24 +01:00
Bruno BELANYI
e9eaabcd0a
library: core: color: add derive Sum
2020-03-17 23:27:57 +01:00
Bruno BELANYI
48b3f03d40
library: core: color: add Mul-like ops by self
2020-03-17 19:17:52 +01:00
Bruno BELANYI
7d28e21a70
library: move from f64 to f32
...
They are faster to compute with, take less space --which means faster
access because we use less cache lines--, and they are what is used by
`bvh`...
2020-03-16 17:26:04 +01:00
Bruno BELANYI
31272bceac
library: core: color: add arithmetic operations
...
The only operations that are not supported right now are term-by-term
division and multiplication between two colors.
I deemed the multiplication and division by a scalar more important than
those operations for the moment.
2020-03-16 16:14:40 +01:00
Bruno BELANYI
b89631adce
library: core: add LinearColor type
2020-03-16 15:16:37 +01:00