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
14
14
- Fix: Corrected for-loop indices (they differed from the version in book 1) in ` random_scene() ` .
15
15
- Fix: Introduce "Texture Coordinates for Spheres" in Chapter 4 to support (u,v) coordinates in
16
16
` hit_record ` (#496 )
17
+ - Fix: Small correction: we now use ` std::sort ` instead of ` qsort ` (#490 )
17
18
- Change: Refactored ` random_scene() ` . More named intermediate values, sync'ed with version in
18
19
_ In One Weekend_ and with source. Added highlight for update from last version in book 1. (#489 )
19
20
- Change: The C++ ` <random> ` version of ` random_double() ` no longer depends on ` <functional> `
Original file line number Diff line number Diff line change 810
810
list along one axis. I’ll go for simplicity:
811
811
812
812
1. randomly choose an axis
813
- 2. sort the primitives using library qsort
813
+ 2. sort the primitives (` using std::sort`)
814
814
3. put half in each subtree
815
815
816
816
</ div >
You can’t perform that action at this time.
0 commit comments