summaryrefslogtreecommitdiff
path: root/src/common.rs
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-03 04:23:27 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2025-03-03 04:23:27 +0700
commit3fe52d7b88f1e99bcffc5ea31e3e2cf9fcacec6d (patch)
treebc53f29dec30b12d6135fbf6dbea0aa1f225cdec /src/common.rs
parent8eec1dd60e966f068cd62fba87ca5dbc1aeb1978 (diff)
camera
Diffstat (limited to 'src/common.rs')
-rw-r--r--src/common.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common.rs b/src/common.rs
index 75bf600..69f9a48 100644
--- a/src/common.rs
+++ b/src/common.rs
@@ -13,8 +13,8 @@ pub const CAMERA_CENTER: Point3 = Point3 { x: 0.0, y: 0.0, z: 0.0 };
pub const SAMPLES_PER_PIXEL: usize = 100;
pub const MAX_DEPTH: usize = 50;
-pub const VFOV: f32 = 90.0;
-pub const LOOK_FROM: Point3 = Point3 { x: -2.0, y: -2.0, z: 1.0 };
+pub const VFOV: f32 = 30.0;
+pub const LOOK_FROM: Point3 = Point3 { x: -2.0, y: 2.0, z: 1.0 };
pub const LOOK_AT: Point3 = Point3 { x: 0.0, y: 0.0, z: -1.0 };
pub const VUP: Vec3 = Vec3 { x: 0.0, y: 1.0, z: 0.0 };