From 7c868a16da77f3aefbf0d33f14dd3d0ded542fc4 Mon Sep 17 00:00:00 2001 From: Rosyid Haryadi Date: Wed, 26 Feb 2025 18:05:40 +0700 Subject: upd: renderer --- src/global.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/global.rs') diff --git a/src/global.rs b/src/global.rs index 932daa2..2f99cb9 100644 --- a/src/global.rs +++ b/src/global.rs @@ -4,7 +4,7 @@ use crate::calculus::calculus::Point3; // "Ideal" aspect ratio, allowing fraction pub const ASPECT_RATIO: f32 = 9.0f32 / 5.0f32; -pub const IMG_WIDTH: usize = 400; +pub const IMG_WIDTH: usize = 1000; const IMG_HEIGHT_TMP: usize = (IMG_WIDTH as f32 / ASPECT_RATIO) as usize; pub const IMG_HEIGHT: usize = if (IMG_HEIGHT_TMP < 1) { 1 } else { IMG_HEIGHT_TMP }; -- cgit v1.2.3-70-g09d2