Reorganize files and add Mandelbrot shader
This commit is contained in:
parent
7ba0590d33
commit
d2f8ca7ed3
10 changed files with 62 additions and 2 deletions
12
src/renderer.h
Normal file
12
src/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