File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 10111011The Box Comparison Functions
10121012-----------------------------
10131013Now 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 {
You can’t perform that action at this time.
0 commit comments