diff --git a/OpenGL/OpenGL.vcxproj b/OpenGL/OpenGL.vcxproj index f58419a..36502c7 100644 --- a/OpenGL/OpenGL.vcxproj +++ b/OpenGL/OpenGL.vcxproj @@ -126,9 +126,9 @@ - - - + + + diff --git a/OpenGL/OpenGL.vcxproj.filters b/OpenGL/OpenGL.vcxproj.filters index d64752d..e315d3d 100644 --- a/OpenGL/OpenGL.vcxproj.filters +++ b/OpenGL/OpenGL.vcxproj.filters @@ -12,13 +12,13 @@ - + headers - + headers - + headers diff --git a/OpenGL/display.cpp b/OpenGL/display.cpp index 61ba2a8..b2cfd05 100644 --- a/OpenGL/display.cpp +++ b/OpenGL/display.cpp @@ -1,7 +1,7 @@ #include #include -#include "display.h" +#include "headers/display.h" Display::Display(int width, int height, const std::string& title) { SDL_Init(SDL_INIT_VIDEO); diff --git a/OpenGL/display.h b/OpenGL/headers/display.h similarity index 100% rename from OpenGL/display.h rename to OpenGL/headers/display.h diff --git a/OpenGL/mesh.h b/OpenGL/headers/mesh.h similarity index 100% rename from OpenGL/mesh.h rename to OpenGL/headers/mesh.h diff --git a/OpenGL/shader.h b/OpenGL/headers/shader.h similarity index 100% rename from OpenGL/shader.h rename to OpenGL/headers/shader.h diff --git a/OpenGL/main.cpp b/OpenGL/main.cpp index c9fb4a9..22bb368 100644 --- a/OpenGL/main.cpp +++ b/OpenGL/main.cpp @@ -1,9 +1,9 @@ #include #include -#include "display.h" -#include "mesh.h" -#include "shader.h" +#include "headers/display.h" +#include "headers/mesh.h" +#include "headers/shader.h" #undef main diff --git a/OpenGL/mesh.cpp b/OpenGL/mesh.cpp index 8aa54a1..1decc73 100644 --- a/OpenGL/mesh.cpp +++ b/OpenGL/mesh.cpp @@ -1,4 +1,4 @@ -#include "mesh.h" +#include "headers/mesh.h" Mesh::Mesh(GLfloat *vertices, unsigned int numVerticies) { m_drawCount = numVerticies; diff --git a/OpenGL/shader.cpp b/OpenGL/shader.cpp index 233ca6f..2527fbf 100644 --- a/OpenGL/shader.cpp +++ b/OpenGL/shader.cpp @@ -1,4 +1,4 @@ -#include "shader.h" +#include "headers/shader.h" const char *vertexShaderSource = "#version 330 core\n" "layout (location = 0) in vec3 aPos;\n"