File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ Change Log -- Ray Tracing in One Weekend
1414 - Fix: Corrected for-loop indices (they differed from the version in book 1) in ` random_scene() ` .
1515 - Fix: Introduce "Texture Coordinates for Spheres" in Chapter 4 to support (u,v) coordinates in
1616 ` hit_record ` (#496 )
17+ - Fix: Small correction: we now use ` std::sort ` instead of ` qsort ` (#490 )
1718 - Change: Refactored ` random_scene() ` . More named intermediate values, sync'ed with version in
1819 _ In One Weekend_ and with source. Added highlight for update from last version in book 1. (#489 )
1920 - Change: The C++ ` <random> ` version of ` random_double() ` no longer depends on ` <functional> `
Original file line number Diff line number Diff line change 810810list along one axis. I’ll go for simplicity:
811811
812812 1. randomly choose an axis
813- 2. sort the primitives using library qsort
813+ 2. sort the primitives (` using std::sort`)
814814 3. put half in each subtree
815815
816816</ div >
You can’t perform that action at this time.
0 commit comments