From daae56fc293ed2c170933a12d7d9d87ee0143cf8 Mon Sep 17 00:00:00 2001 From: Brett Date: Mon, 24 Oct 2022 09:56:41 -0400 Subject: [PATCH] window size fix --- Step 3/src/engine/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Step 3/src/engine/main.cpp b/Step 3/src/engine/main.cpp index a4a90a8..0219275 100644 --- a/Step 3/src/engine/main.cpp +++ b/Step 3/src/engine/main.cpp @@ -74,8 +74,8 @@ int main(int argc, char** args) { // not perfect (contains duplicates) but good enough. parser.printAllInInfo(); - Raytracing::Image image(1920, 1080); - //Raytracing::Image image(std::stoi(parser.getOptionValue("-w")), std::stoi(parser.getOptionValue("-h"))); + //Raytracing::Image image(1920, 1080); + Raytracing::Image image(std::stoi(parser.getOptionValue("-w")), std::stoi(parser.getOptionValue("-h"))); Raytracing::Camera camera(std::stoi(parser.getOptionValue("--fov")), image); //camera.setPosition({0, 0, 1});