eoc8: zoom the fov.
This commit is contained in:
parent
5d8024a485
commit
7a8ed15017
@ -32,7 +32,7 @@ fn main() -> Result<()> {
|
||||
let light_position = Tuple::point(-10., 10., -10.);
|
||||
let light_color = WHITE;
|
||||
let light = PointLight::new(light_position, light_color);
|
||||
let mut camera = Camera::new(width, height, PI / 2.);
|
||||
let mut camera = Camera::new(width, height, PI / 4.);
|
||||
let from = Tuple::point(0., 1.5, -5.);
|
||||
let to = Tuple::point(0., 1., 0.);
|
||||
let up = Tuple::point(0., 1., 0.);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user