Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Change Log -- Ray Tracing in One Weekend
- Fix: Corrected for-loop indices (they differed from the version in book 1) in `random_scene()`.
- Fix: Introduce "Texture Coordinates for Spheres" in Chapter 4 to support (u,v) coordinates in
`hit_record` (#496)
- Fix: Small correction: we now use `std::sort` instead of `qsort` (#490)
- Change: Refactored `random_scene()`. More named intermediate values, sync'ed with version in
_In One Weekend_ and with source. Added highlight for update from last version in book 1. (#489)
- Change: The C++ `<random>` version of `random_double()` no longer depends on `<functional>`
Expand Down
2 changes: 1 addition & 1 deletion books/RayTracingTheNextWeek.html
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@
list along one axis. I’ll go for simplicity:

1. randomly choose an axis
2. sort the primitives using library qsort
2. sort the primitives (`using std::sort`)
3. put half in each subtree

</div>
Expand Down