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