From 3fe52d7b88f1e99bcffc5ea31e3e2cf9fcacec6d Mon Sep 17 00:00:00 2001 From: Rosyid Haryadi Date: Mon, 3 Mar 2025 04:23:27 +0700 Subject: camera --- src/common.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common.rs') 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 }; -- cgit v1.2.3-70-g09d2