Moved some files around and eddited the project files to include folders
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "mesh.h"
|
||||
#include "headers/mesh.h"
|
||||
|
||||
Mesh::Mesh(GLfloat *vertices, unsigned int numVerticies) {
|
||||
m_drawCount = numVerticies;
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user