1 2 3 4 5 6 7 8 9 10 11 12 13 14 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);