aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/main.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/main.h b/include/main.h
new file mode 100644
index 0000000..19fa03c
--- /dev/null
+++ b/include/main.h
@@ -0,0 +1,15 @@
+#include <GLFW/glfw3.h>
+
+typedef struct {
+ float r;
+ float g;
+ float b;
+} CRT_RGB;
+
+void error_callback(int error, const char* description);
+
+void framebuffer_size_callback(GLFWwindow* window, int width, int height);
+
+void processInput(GLFWwindow *window);
+
+void hexToRGB(CRT_RGB* rgb, const char* hex);