summaryrefslogtreecommitdiff
path: root/include/blender
diff options
context:
space:
mode:
authorpacien2017-12-02 15:20:34 +0100
committerpacien2017-12-02 15:20:34 +0100
commit52d6a488137736630d35ebddb6cc5b8c118b2e07 (patch)
tree58a690263e06746df95b9e8b2004b16f4a75078d /include/blender
parent59c1fece82944d4f904cf6a02f97df2818961bb3 (diff)
downloadmorpher-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')
-rw-r--r--include/blender/color.h5
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 */
22typedef union { 22typedef 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