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 @@ -4,6 +4,7 @@ Change Log -- Ray Tracing in One Weekend
# v3.1.1 (in progress)

### _In One Weekend_
- Fix: Camera initialization with explicit up vector (#537)
- Change: The C++ `<random>` version of `random_double()` no longer depends on `<functional>`
header.
- Change: Refactored `random_scene()`. More named intermediate values, sync'ed with source.
Expand Down
2 changes: 1 addition & 1 deletion books/RayTracingInOneWeekend.html
Original file line number Diff line number Diff line change
Expand Up @@ -2669,7 +2669,7 @@
This allows us to change the viewpoint:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++
camera cam(point3(-2,2,1), point3(0,0,-1), vup, 90, aspect_ratio);
camera cam(point3(-2,2,1), point3(0,0,-1), vec3(0,1,0), 90, aspect_ratio);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Listing [scene-free-view]: <kbd>[main.cc]</kbd> Scene with alternate viewpoint]

Expand Down