Commit e79cf23f authored by Sadman Kazi's avatar Sadman Kazi

Update paths

parent bed30c49
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
Display display(WIDTH, HEIGHT, "3D Model Viewer"); Display display(WIDTH, HEIGHT, "3D Model Viewer");
Shader shader("./res/basicShader"); Shader shader("../res/basicShader");
Vertex vertices[] = { Vertex(glm::vec3(-0.5, -0.5, 0), glm::vec2(0,0)), Vertex vertices[] = { Vertex(glm::vec3(-0.5, -0.5, 0), glm::vec2(0,0)),
Vertex(glm::vec3(0, 0.5, 0), glm::vec2(0.5, 1.0)), Vertex(glm::vec3(0, 0.5, 0), glm::vec2(0.5, 1.0)),
...@@ -21,9 +21,9 @@ int main(int argc, char* argv[]) { ...@@ -21,9 +21,9 @@ int main(int argc, char* argv[]) {
unsigned int indices[] = { 0, 1, 2 }; unsigned int indices[] = { 0, 1, 2 };
Mesh mesh(vertices, sizeof(vertices) / sizeof(vertices[0]), indices, sizeof(indices)/sizeof(indices[0])); Mesh mesh(vertices, sizeof(vertices) / sizeof(vertices[0]), indices, sizeof(indices)/sizeof(indices[0]));
Mesh mesh2("./res/monkey.obj"); Mesh mesh2("../res/monkey.obj");
Camera camera(glm::vec3(0, 0, -3), 70.0f, (float)WIDTH / (float)HEIGHT, 0.01f, 1000.0f); Camera camera(glm::vec3(0, 0, -3), 70.0f, (float)WIDTH / (float)HEIGHT, 0.01f, 1000.0f);
Texture texture("./res/gray.jpg"); Texture texture("../res/gray.jpg");
Transform transform; Transform transform;
float counter = 0.0f; float counter = 0.0f;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment