diff --git a/.gitignore b/.gitignore index 722d5e7..e1f5cb3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .vscode +bin/ \ No newline at end of file diff --git a/bin/main.exe b/bin/main.exe deleted file mode 100644 index 80cc02a..0000000 Binary files a/bin/main.exe and /dev/null differ diff --git a/bin/obj/camera.o b/bin/obj/camera.o deleted file mode 100644 index 7d9aa78..0000000 Binary files a/bin/obj/camera.o and /dev/null differ diff --git a/bin/obj/file.o b/bin/obj/file.o deleted file mode 100644 index bddc714..0000000 Binary files a/bin/obj/file.o and /dev/null differ diff --git a/bin/obj/indexBuffer.o b/bin/obj/indexBuffer.o deleted file mode 100644 index 90465c1..0000000 Binary files a/bin/obj/indexBuffer.o and /dev/null differ diff --git a/bin/obj/input.o b/bin/obj/input.o deleted file mode 100644 index 6716adb..0000000 Binary files a/bin/obj/input.o and /dev/null differ diff --git a/bin/obj/main.o b/bin/obj/main.o deleted file mode 100644 index 231fea2..0000000 Binary files a/bin/obj/main.o and /dev/null differ diff --git a/bin/obj/mesh.o b/bin/obj/mesh.o deleted file mode 100644 index 315ce82..0000000 Binary files a/bin/obj/mesh.o and /dev/null differ diff --git a/bin/obj/model.o b/bin/obj/model.o deleted file mode 100644 index c1977ae..0000000 Binary files a/bin/obj/model.o and /dev/null differ diff --git a/bin/obj/shader.o b/bin/obj/shader.o deleted file mode 100644 index c2df582..0000000 Binary files a/bin/obj/shader.o and /dev/null differ diff --git a/bin/obj/texture.o b/bin/obj/texture.o deleted file mode 100644 index 8c54045..0000000 Binary files a/bin/obj/texture.o and /dev/null differ diff --git a/bin/obj/transform.o b/bin/obj/transform.o deleted file mode 100644 index 5d80d50..0000000 Binary files a/bin/obj/transform.o and /dev/null differ diff --git a/bin/obj/vendor/glad/glad.o b/bin/obj/vendor/glad/glad.o deleted file mode 100644 index 73c8ec3..0000000 Binary files a/bin/obj/vendor/glad/glad.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui.o b/bin/obj/vendor/imgui/imgui.o deleted file mode 100644 index 1e53e93..0000000 Binary files a/bin/obj/vendor/imgui/imgui.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui_demo.o b/bin/obj/vendor/imgui/imgui_demo.o deleted file mode 100644 index 406ca13..0000000 Binary files a/bin/obj/vendor/imgui/imgui_demo.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui_draw.o b/bin/obj/vendor/imgui/imgui_draw.o deleted file mode 100644 index 8d242bc..0000000 Binary files a/bin/obj/vendor/imgui/imgui_draw.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui_impl_glfw.o b/bin/obj/vendor/imgui/imgui_impl_glfw.o deleted file mode 100644 index 34643ef..0000000 Binary files a/bin/obj/vendor/imgui/imgui_impl_glfw.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui_impl_opengl3.o b/bin/obj/vendor/imgui/imgui_impl_opengl3.o deleted file mode 100644 index 6fef541..0000000 Binary files a/bin/obj/vendor/imgui/imgui_impl_opengl3.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui_tables.o b/bin/obj/vendor/imgui/imgui_tables.o deleted file mode 100644 index 50286b1..0000000 Binary files a/bin/obj/vendor/imgui/imgui_tables.o and /dev/null differ diff --git a/bin/obj/vendor/imgui/imgui_widgets.o b/bin/obj/vendor/imgui/imgui_widgets.o deleted file mode 100644 index 2cdcde4..0000000 Binary files a/bin/obj/vendor/imgui/imgui_widgets.o and /dev/null differ diff --git a/bin/obj/vendor/stb/stb.o b/bin/obj/vendor/stb/stb.o deleted file mode 100644 index b3525db..0000000 Binary files a/bin/obj/vendor/stb/stb.o and /dev/null differ diff --git a/bin/obj/vertexArray.o b/bin/obj/vertexArray.o deleted file mode 100644 index 169448c..0000000 Binary files a/bin/obj/vertexArray.o and /dev/null differ diff --git a/bin/obj/vertexBuffer.o b/bin/obj/vertexBuffer.o deleted file mode 100644 index 2f57d2d..0000000 Binary files a/bin/obj/vertexBuffer.o and /dev/null differ diff --git a/bin/obj/window.o b/bin/obj/window.o deleted file mode 100644 index bacb3a5..0000000 Binary files a/bin/obj/window.o and /dev/null differ diff --git a/build.cmd b/build.cmd new file mode 100644 index 0000000..ac08cdc --- /dev/null +++ b/build.cmd @@ -0,0 +1 @@ +make \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 6497706..903b904 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -65,6 +65,14 @@ int main(int argc, const char* argv[]) { model.transform.rotate(1.0f, glm::vec3(0.0f, 1.0f, 0.0f)); } + if (window.input->getKey(VEGA_KEY_ESCAPE)) { + delete shader; + shader->destroy(); + model.destroy(); + window.destroy(); + return 0; + } + model.render(shader, &camera); window.checkErrors();