Init Repository

This commit is contained in:
MrFloor
2022-01-20 02:09:24 +01:00
commit c97ab16096
13 changed files with 11793 additions and 0 deletions

20
src/Renderer.h Normal file
View File

@@ -0,0 +1,20 @@
#ifndef OPENGLINITIALIZATION
#define OPENGLINITIALIZATION
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <string.h>
GLFWwindow* initOpenGL();
void WindowGotResized(GLFWwindow* window, int width, int height);
unsigned int compileShaderProgram(const char** vertexSrc, const char** fragmentSrc);
unsigned int loadCompileShader(char* vertexPath, char* fragmentPath);
#endif