Reorganize files and add Mandelbrot shader

This commit is contained in:
Dimitri Lozeve 2021-02-23 22:06:46 +01:00
parent 7ba0590d33
commit d2f8ca7ed3
10 changed files with 62 additions and 2 deletions

12
src/renderer.h Normal file
View 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 */