Initial commit
This commit is contained in:
commit
a3a19af3ec
8 changed files with 618 additions and 0 deletions
12
main.h
Normal file
12
main.h
Normal 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 */
|
Loading…
Add table
Add a link
Reference in a new issue