diff --git a/CHANGELOG.md b/CHANGELOG.md index ad1e8e63..dd556ff1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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++ `` version of `random_double()` no longer depends on `` diff --git a/books/RayTracingTheNextWeek.html b/books/RayTracingTheNextWeek.html index 27b9a74e..f0624151 100644 --- a/books/RayTracingTheNextWeek.html +++ b/books/RayTracingTheNextWeek.html @@ -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