diff options
author | pacien | 2017-11-28 19:01:51 +0100 |
---|---|---|
committer | pacien | 2017-11-28 19:01:51 +0100 |
commit | 987835afe8fc5d46cb3a6359ec80c9f035e72801 (patch) | |
tree | e93ddebbfc15900f9307df446e420c086f8a2ebd /include/blender/color.h | |
parent | ac60669cd3a93312f0ff186055e61a5e3fb5fcdd (diff) | |
download | morpher-987835afe8fc5d46cb3a6359ec80c9f035e72801.tar.gz |
Add module spec headers
Signed-off-by: pacien <pacien.trangirard@pacien.net>
Diffstat (limited to 'include/blender/color.h')
-rw-r--r-- | include/blender/color.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/blender/color.h b/include/blender/color.h new file mode 100644 index 0000000..cdf488a --- /dev/null +++ b/include/blender/color.h | |||
@@ -0,0 +1,27 @@ | |||
1 | #ifndef UPEM_MORPHING_COLOR | ||
2 | #define UPEM_MORPHING_COLOR | ||
3 | |||
4 | /** | ||
5 | * File: color.h | ||
6 | * | ||
7 | * See also: | ||
8 | * A rainbow | ||
9 | */ | ||
10 | |||
11 | /** | ||
12 | * Type: ColorComponent | ||
13 | * Represents a single colour component of 32-bits RGBa tuple. | ||
14 | */ | ||
15 | typedef uint8_t ColorComponent; | ||
16 | |||
17 | /** | ||
18 | * Type: ColorPixel | ||
19 | * Represents a single RGBa coloured pixel. | ||
20 | * Compatible with the libMLV representation. | ||
21 | */ | ||
22 | typedef union { | ||
23 | ColorComponent r, g, b, a; | ||
24 | MLV_Color mlv; | ||
25 | } Color; | ||
26 | |||
27 | #endif | ||