Split into several files
This commit is contained in:
parent
a3a19af3ec
commit
2480fa80ef
7 changed files with 275 additions and 226 deletions
12
renderer.h
Normal file
12
renderer.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef RENDERER_H
|
||||
#define RENDERER_H
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
GLFWwindow *initialize_window(int width, int height);
|
||||
unsigned int initialize_vertices();
|
||||
void process_input(GLFWwindow *window, unsigned int *shader_program,
|
||||
const char *const fragment_shader_file);
|
||||
void framebuffer_size_callback(GLFWwindow *window, int width, int height);
|
||||
|
||||
#endif /* RENDERER_H */
|
Loading…
Add table
Add a link
Reference in a new issue