diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/blender/color.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/blender/color.c b/src/blender/color.c new file mode 100644 index 0000000..f92fba9 --- /dev/null +++ b/src/blender/color.c | |||
@@ -0,0 +1,8 @@ | |||
1 | #include "blender/color.h" | ||
2 | |||
3 | bool color_equals(Color c1, Color c2) { | ||
4 | return c1.rgba.r == c2.rgba.r && | ||
5 | c1.rgba.g == c2.rgba.g && | ||
6 | c1.rgba.b == c2.rgba.b && | ||
7 | c1.rgba.a == c2.rgba.a; | ||
8 | } | ||