Initial commit

This commit is contained in:
Dimitri Lozeve 2021-02-23 19:14:00 +01:00
commit a3a19af3ec
8 changed files with 618 additions and 0 deletions

12
main.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef MAIN_H
#define MAIN_H
#include <GLFW/glfw3.h>
char *read_file(const char *const filename);
int compile_shaders(unsigned int *shader_program,
const char *const fragment_shader_file);
void process_input(GLFWwindow *window, unsigned int *shader_program);
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
#endif /* MAIN_H */