Skip to content

Commit 16e9f06

Browse files
committed
face -> faces and small english
1 parent 7bc905b commit 16e9f06

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,9 +1911,9 @@
19111911
This is very noisy because the light is small. But we have a problem: some of the walls are facing
19121912
the wrong way. We haven't specified that a diffuse material should behave differently on different
19131913
faces of the object, but what if the Cornell box had a different pattern on the inside and outside
1914-
walls? The rectangle objects are described such that their front face is always in the $(1, 0, 0)$,
1915-
$(0, 1, 0)$, or $(0, 0, 1)$ directions. We need a way to switch the faces of an object. Let’s make
1916-
a hittable that does nothing but hold another hittable, but flips the face:
1914+
walls? The rectangle objects are described such that their front faces are always in the
1915+
$(1, 0, 0)$, $(0, 1, 0)$, or $(0, 0, 1)$ directions. We need a way to switch the faces of an
1916+
object. Let’s make a hittable that does nothing but hold another hittable, and flips the face:
19171917

19181918
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
19191919
class flip_face : public hittable {

0 commit comments

Comments
 (0)