From 6dd6befed06a5d2d13e92344672bf0c3c3fc022a Mon Sep 17 00:00:00 2001 From: Robert Garrett Date: Fri, 23 Jun 2023 19:45:57 -0500 Subject: [PATCH] chore: Turn down the image resolution for testing For some reason I feel it necessary to make this its own commit. I might be for real losing my mind. --- src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4e13927..fbba0e6 100644 --- a/src/main.rs +++ b/src/main.rs @@ -25,10 +25,10 @@ fn main() { // image let aspect_ratio = 3.0 / 2.0; let image = ( - 1920, - (1920.0 / aspect_ratio) as i32 + 400, + (400.0 / aspect_ratio) as i32 ); - let samples_per_pixel = 10; + let samples_per_pixel: u32 = 10; let max_depth = 50; // random generator