summaryrefslogtreecommitdiff
path: root/src/global.rs
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-02-26 18:05:40 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-02-26 18:05:40 +0700
commit7c868a16da77f3aefbf0d33f14dd3d0ded542fc4 (patch)
treef3ca85602c5109fd014ff03c9ca1fbc80e1343a4 /src/global.rs
parentafa026412fad832c85d28ddedb6b4bb74a4042d1 (diff)
upd: renderer
Diffstat (limited to 'src/global.rs')
-rw-r--r--src/global.rs2
1 files changed, 1 insertions, 1 deletions
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 };