diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-02 01:32:01 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2025-03-02 01:32:01 +0700 |
commit | da70c57d01cf6ffe7c1aab30921eb22cd5197dae (patch) | |
tree | cff1c2e09f92445efbfff5dccb7c10522f5b6c33 /src/global.rs | |
parent | 1207c2c55c772155d02a148d76616881f3f6c125 (diff) |
upd: diffuse material
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 3f74ba1..3975609 100644 --- a/src/global.rs +++ b/src/global.rs @@ -3,7 +3,7 @@ use crate::interval::Interval; // "Ideal" aspect ratio, allowing fraction pub const ASPECT_RATIO: f32 = 16.0f32 / 9.0f32; -pub const IMG_WIDTH: usize = 1000; +pub const IMG_WIDTH: usize = 400; pub const IMG_HEIGHT: usize = get_image_height(IMG_WIDTH, ASPECT_RATIO); pub const VIEWPORT_HEIGHT: f32 = 2.0; |