diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-02-26 18:05:40 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-02-26 18:05:40 +0700 |
commit | 7c868a16da77f3aefbf0d33f14dd3d0ded542fc4 (patch) | |
tree | f3ca85602c5109fd014ff03c9ca1fbc80e1343a4 /src/global.rs | |
parent | afa026412fad832c85d28ddedb6b4bb74a4042d1 (diff) |
upd: renderer
Diffstat (limited to 'src/global.rs')
-rw-r--r-- | src/global.rs | 2 |
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 }; |