Skip to content

Commit 7c6ee55

Browse files
authored
Merge pull request #443 from RayTracing/fix-442
Add highlight to new hittable::bounding_box()
2 parents 6847dc2 + 4a8c443 commit 7c6ee55

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Change Log -- Ray Tracing in One Weekend
77
### _The Next Week_
88
- Fix: `shared_ptr` dereference and simplify code in `hittable_list::bounding_box()` (#435)
99
- Fix: erroneous en-dash in code block (#439)
10+
- Fix: Add highlight to new `hittable::bounding_box()` method (#442)
1011

1112

1213
----------------------------------------------------------------------------------------------------

books/RayTracingTheNextWeek.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,9 @@
615615
public:
616616
virtual bool hit(
617617
const ray& r, double t_min, double t_max, hit_record& rec) const = 0;
618+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
618619
virtual bool bounding_box(double t0, double t1, aabb& output_box) const = 0;
620+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
619621
};
620622
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
621623
[Listing [hittable-bbox]: <kbd>[hittable.h]</kbd> Hittable class with bounding-box]

0 commit comments

Comments
 (0)