Skip to content

Commit b11aadc

Browse files
swigofhollasch
authored andcommitted
Fix grammatical error
Add missing `that` in Book 2 Section 3.9 Resolves #1675
1 parent 25b8ba8 commit b11aadc

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
@@ -1011,9 +1011,9 @@
10111011
The Box Comparison Functions
10121012
-----------------------------
10131013
Now we need to implement the box comparison functions, used by `std::sort()`. To do this, create a
1014-
generic comparator returns true if the first argument is less than the second, given an additional
1015-
axis index argument. Then define axis-specific comparison functions that use the generic comparison
1016-
function.
1014+
generic comparator that returns true if the first argument is less than the second, given an
1015+
additional axis index argument. Then define axis-specific comparison functions that use the generic
1016+
comparison function.
10171017

10181018
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
10191019
class bvh_node : public hittable {

0 commit comments

Comments
 (0)