aboutsummaryrefslogtreecommitdiff
path: root/include/mgl/graphics/color.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-16 07:04:34 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-16 07:04:34 +0200
commit97f1b1c735775d1e22412bbcf98ef403f9ee2275 (patch)
tree80c2d729a20996d673e7081c4213b09be1076a74 /include/mgl/graphics/color.h
parent08dcbfa7772149bcdcc0ab660a897853a30103a0 (diff)
Add rectangle and sprite, use pixel coordinates, remote opengl dependency from test
Diffstat (limited to 'include/mgl/graphics/color.h')
-rw-r--r--include/mgl/graphics/color.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mgl/graphics/color.h b/include/mgl/graphics/color.h
new file mode 100644
index 0000000..62ded72
--- /dev/null
+++ b/include/mgl/graphics/color.h
@@ -0,0 +1,8 @@
+#ifndef MGL_COLOR_H
+#define MGL_COLOR_H
+
+typedef struct {
+ float r, g, b, a;
+} mgl_color;
+
+#endif /* MGL_COLOR_H */