diff options
author | pacien | 2017-12-02 15:20:34 +0100 |
---|---|---|
committer | pacien | 2017-12-02 15:20:34 +0100 |
commit | 52d6a488137736630d35ebddb6cc5b8c118b2e07 (patch) | |
tree | 58a690263e06746df95b9e8b2004b16f4a75078d /include/blender/color.h | |
parent | 59c1fece82944d4f904cf6a02f97df2818961bb3 (diff) | |
download | morpher-52d6a488137736630d35ebddb6cc5b8c118b2e07.tar.gz |
Impl. color blending and unit test, minor API change
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/blender/color.h')
-rw-r--r-- | include/blender/color.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/blender/color.h b/include/blender/color.h index cdf488a..22ed563 100644 --- a/include/blender/color.h +++ b/include/blender/color.h | |||
@@ -20,7 +20,10 @@ typedef uint8_t ColorComponent; | |||
20 | * Compatible with the libMLV representation. | 20 | * Compatible with the libMLV representation. |
21 | */ | 21 | */ |
22 | typedef union { | 22 | typedef union { |
23 | ColorComponent r, g, b, a; | 23 | struct { |
24 | ColorComponent r, g, b, a; | ||
25 | } rgba; | ||
26 | |||
24 | MLV_Color mlv; | 27 | MLV_Color mlv; |
25 | } Color; | 28 | } Color; |
26 | 29 | ||