Skip to content

Commit ed119af

Browse files
authored
Merge pull request #907 from RayTracing/quad.5
New 2D `quad` primitive
2 parents df5807a + 871b466 commit ed119af

23 files changed

+843
-820
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ Change Log -- Ray Tracing in One Weekend
2323
- Change: hittable::bounding_box() signature has changed to always return a value (#859)
2424
- Fix: Enabled compiler warnings for MSVC, Clang, GNU. Cleaned up warnings as fit (#865)
2525
- Change: replaced random vector in `isotropic` with `random_unit_vector`
26+
- Delete: `box`, `xy_rect`, `yz_rect`, `xz_rect` classes. Now replaced with new `quad` primitive
27+
(#292, #780, #681)
28+
- Fix: rect hit returning NaNs and infinities. Superseded with new `quad` primitive (#681)
29+
- Added: New 2D `quad` primitive of arbitrary orientation (#756)
30+
- Added: New `box()` utility function returns `hittable_list` of new `quad` primitives (#780)
2631

2732
### In One Weekend
2833
- Added: More commentary about the choice between `double` and `float` (#752)
@@ -35,7 +40,7 @@ Change Log -- Ray Tracing in One Weekend
3540
- Change: Broad rewrite of time management for moving objects, primarily `camera` and
3641
`moving_sphere`, but also impacting the API for `hittable::bounding_box()` (#799)
3742
- Fix: Fixed `bvh_node` constructor definition signature (#872)
38-
- Fix: Fixed scaling for final Perlin noise texture (#896).
43+
- Fix: Fixed scaling for final Perlin noise texture (#896).
3944

4045
### The Rest of Your Life
4146
- Fix: Added missing functionality for `isotropic` (#664)

CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,13 @@ set ( SOURCE_NEXT_WEEK
4040
src/common/perlin.h
4141
src/common/rtw_stb_image.h
4242
src/common/texture.h
43-
src/TheNextWeek/aarect.h
44-
src/TheNextWeek/box.h
4543
src/TheNextWeek/bvh.h
4644
src/TheNextWeek/constant_medium.h
4745
src/TheNextWeek/hittable.h
4846
src/TheNextWeek/hittable_list.h
4947
src/TheNextWeek/material.h
5048
src/TheNextWeek/moving_sphere.h
49+
src/TheNextWeek/quad.h
5150
src/TheNextWeek/scene.h
5251
src/TheNextWeek/sphere.h
5352
src/TheNextWeek/main.cc
@@ -60,14 +59,13 @@ set ( SOURCE_REST_OF_YOUR_LIFE
6059
src/common/perlin.h
6160
src/common/rtw_stb_image.h
6261
src/common/texture.h
63-
src/TheRestOfYourLife/aarect.h
64-
src/TheRestOfYourLife/box.h
6562
src/TheRestOfYourLife/bvh.h
6663
src/TheRestOfYourLife/hittable.h
6764
src/TheRestOfYourLife/hittable_list.h
6865
src/TheRestOfYourLife/material.h
6966
src/TheRestOfYourLife/onb.h
7067
src/TheRestOfYourLife/pdf.h
68+
src/TheRestOfYourLife/quad.h
7169
src/TheRestOfYourLife/scene.h
7270
src/TheRestOfYourLife/sphere.h
7371
src/TheRestOfYourLife/main.cc

0 commit comments

Comments
 (0)