Moved some files around and eddited the project files to include folders

This commit is contained in:
plane000
2018-09-16 14:06:14 +01:00
parent 32d9ad1dea
commit 0cc6e9cef0
9 changed files with 12 additions and 12 deletions

View File

@@ -126,9 +126,9 @@
<ClCompile Include="shader.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="display.h" />
<ClInclude Include="mesh.h" />
<ClInclude Include="shader.h" />
<ClInclude Include="headers/display.h" />
<ClInclude Include="headers/mesh.h" />
<ClInclude Include="headers/shader.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

View File

@@ -12,13 +12,13 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="display.h">
<ClInclude Include="headers/display.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="mesh.h">
<ClInclude Include="headers/mesh.h">
<Filter>headers</Filter>
</ClInclude>
<ClInclude Include="shader.h">
<ClInclude Include="headers/shader.h">
<Filter>headers</Filter>
</ClInclude>
</ItemGroup>

View File

@@ -1,7 +1,7 @@
#include <GL/glew.h>
#include <iostream>
#include "display.h"
#include "headers/display.h"
Display::Display(int width, int height, const std::string& title) {
SDL_Init(SDL_INIT_VIDEO);

View File

@@ -1,9 +1,9 @@
#include <iostream>
#include <GL/glew.h>
#include "display.h"
#include "mesh.h"
#include "shader.h"
#include "headers/display.h"
#include "headers/mesh.h"
#include "headers/shader.h"
#undef main

View File

@@ -1,4 +1,4 @@
#include "mesh.h"
#include "headers/mesh.h"
Mesh::Mesh(GLfloat *vertices, unsigned int numVerticies) {
m_drawCount = numVerticies;

View File

@@ -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"