aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar Marina Barros <azulmarina799@gmail.com> 2026-11-07 16:58:45 +0000
committerGravatar Marina Barros <azulmarina799@gmail.com> 2026-11-16 00:02:30 +0000
commit6fb035821f4a92f29ab245920d7fb8db69c0c9b9 (patch)
tree838eabcf13d231cf43f7814bb33e6498e9d1f969 /include
commit inicial: GLFW e janela vaziaHEADmain
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);