diff --git a/bad_apple.mp4 b/bad_apple.mp4 new file mode 100644 index 0000000..f8d00c6 Binary files /dev/null and b/bad_apple.mp4 differ diff --git a/src/main.cpp b/src/main.cpp index e88dd32..440cf51 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,7 +3,6 @@ #include <glm/ext/vector_uint2.hpp> #include <glm/ext/vector_uint3.hpp> #include <glm/glm.hpp> -#include <iostream> #include <raylib.h> #include <vector> @@ -68,7 +67,7 @@ struct kdtree int main (int argc, char *argv[]) { - auto img = LoadImage("data/img.jpg"); + auto img = LoadImage(argv[1]); InitWindow(img.width, img.height, ""); SetTargetFPS(60); @@ -125,7 +124,7 @@ int main (int argc, char *argv[]) auto t = LoadImageFromTexture(target.texture); ImageFlipVertical(&t); - ExportImage(t, "test.jpg"); + ExportImage(t, argv[2]); CloseWindow();