Skip to content

Commit f5097c4

Browse files
committed
Groom text around camera up vector
Resolves #420
1 parent 661bda8 commit f5097c4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

books/RayTracingInOneWeekend.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,11 +2490,10 @@
24902490
where we place the camera _lookfrom_, and the point we look at _lookat_. (Later, if you want, you
24912491
could define a direction to look in instead of a point to look at.)
24922492

2493-
We also need a way to specify the roll, or sideways tilt, of the camera; the rotation around the
2494-
lookat-lookfrom axis. Another way to think about it is even if you keep `lookfrom` and `lookat`
2495-
constant, you can still rotate your head around your nose. What we need is a way to specify an up
2496-
vector for the camera. Notice we already we already have a plane that the up vector should be in,
2497-
the plane orthogonal to the view direction.
2493+
We also need a way to specify the roll, or sideways tilt, of the camera: the rotation around the
2494+
lookat-lookfrom axis. Another way to think about it is that even if you keep `lookfrom` and `lookat`
2495+
constant, you can still rotate your head around your nose. What we need is a way to specify an “up”
2496+
vector for the camera. This up vector should lie in the plane orthogonal to the view direction.
24982497

24992498
![Figure [cam-look]: Camera view direction](../images/fig.cam-look.jpg)
25002499

0 commit comments

Comments
 (0)