From 52d6a488137736630d35ebddb6cc5b8c118b2e07 Mon Sep 17 00:00:00 2001 From: pacien Date: Sat, 2 Dec 2017 15:20:34 +0100 Subject: Impl. color blending and unit test, minor API change Signed-off-by: pacien --- include/blender/color.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/blender/color.h') 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; * Compatible with the libMLV representation. */ typedef union { - ColorComponent r, g, b, a; + struct { + ColorComponent r, g, b, a; + } rgba; + MLV_Color mlv; } Color; -- cgit v1.2.3