Skip to content

Commit a411036

Browse files
committed
Merge branch 'dev-minor' into release-v3.1.0
Also includes completed changelog entry for v3.1.0
2 parents 19b4541 + 5f76429 commit a411036

17 files changed

+253
-392
lines changed

CHANGELOG.md

+17-15
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,44 @@
11
Change Log -- Ray Tracing in One Weekend
22
====================================================================================================
33

4-
----------------------------------------------------------------------------------------------------
54
# v3.1.0 (2020-05-03)
65

6+
This minor upgrade adds some fixes and changes that are a bit more than just patches. The text now
7+
has subchapter headings to help readers browse content and get a bit more context. We're introducing
8+
new type aliases `point3` and `color` for `vec3` to better indicate the underlying mathematical
9+
types of parameters and variables. Overall, a bunch of small improvements that we'd recommend
10+
adopting, but may warrant comparison with any current projects.
11+
712
### Common
8-
- Fix: Scattered improvements to the text
913
- Fix: Include cmath in vec3.h (#501)
14+
- Fix: Scattered improvements to the text
1015
- New: Subchapters throughout all three books (#267)
1116
- New: Add explanation for padding `aarect` in the zero dimension (#488)
1217
- Change: Minor change to use new `point3` and `color` type aliases for `vec3` (#422)
1318
- Change: Renamed `constant_texture` to `solid_color`, add RGB constructor (#452)
19+
- Change: Moved `vec3::write_color()` method to utility function in `color.h` header (#502)
20+
- Change: Switch from `ffmin`/`ffmax` to standard `fmin`/`fmax` (#444, #491)
21+
- Change: Math notation to bold uppercase points, bold lowercase no-barb vectors (#412)
1422
- Change: Books use Markdeep's image class=pixel for rendered image fidelity (#498)
1523

1624
### _In One Weekend_
25+
- Fix: Improve image size and aspect ratio calculation to make size changes easier
26+
- Fix: Added `t` parameter back into `hit_record` at correct place
27+
- Fix: image basic vectors off by one
1728
- Fix: Update image and size for first PPM image
1829
- Fix: Update image and size for blue-to-white gradient image
1930
- Fix: Update image and size for simple red sphere render
2031
- Fix: Update image and size for sphere with normal-vector coloring
21-
- Fix: Improve image size and aspect ratio calculation to make size changes easier
22-
- Fix: Added `t` parameter back into `hit_record` at correct place
23-
- Fix: image basic vectors off by one
24-
- Change: First image size changed to 256x256
25-
- Change: Default image sizes changed from 200x100 to 384x216
32+
- Fix: Correct typo in "What's next?" list to rejoin split paragraph on "Lights." Adjust numbering
33+
in rest of list.
2634
- Change: Define image aspect ratio up front, then image height from that and the image width
35+
- Change: Default image sizes changed from 200x100 to 384x216
36+
- Change: First image size changed to 256x256
2737

2838
### _The Next Week_
2939
- Change: Large rewrite of the `image_texture` class. Now handles image loading too. (#434)
3040

3141

32-
---------------------------------------------------------------------------------------------------
33-
# v3.0.3 (in progress)
34-
35-
### _In One Weekend_
36-
- Fix: Correct typo in "What's next?" list to rejoin split paragraph on "Lights." Adjust numbering
37-
in rest of list.
38-
39-
4042
----------------------------------------------------------------------------------------------------
4143
# v3.0.2 (2020-04-11)
4244

0 commit comments

Comments
 (0)