Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update random_scene() in books 1 and 2 #517

Merged
merged 2 commits into from
May 8, 2020
Merged

Update random_scene() in books 1 and 2 #517

merged 2 commits into from
May 8, 2020

Conversation

hollasch
Copy link
Collaborator

@hollasch hollasch commented May 6, 2020

  • Refactored book 1 and 2 random_scene() functions. More named intermediate values, sync'ed with each other and with source.

  • Added highlight for update from random_scene() in book 1.

  • Added clarification about updating lambertian variables from color to solid_color.

  • Corrected book 2 random_scene() for-loop indices (they differed from the version in book 1).

Resolves #489

- Refactored book 1 and 2 `random_scene()` functions. More named
  intermediate values, sync'ed with each other and with source.

- Added highlight for update from random_scene() in book 1.

- Added clarification about updating lambertian variables from `color`
  to `solid_color`.

- Corrected book 2 random_scene() for-loop indices (they differed from
  the version in book 1).

Resolves #489
@hollasch hollasch added this to the v3.1.1 milestone May 6, 2020
@hollasch hollasch requested a review from a team May 6, 2020 07:40
@hollasch hollasch self-assigned this May 6, 2020
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Copy link
Contributor

@dafhi dafhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

agree? will approve l8r

@hollasch hollasch merged commit 55abc5f into dev-patch May 8, 2020
@hollasch hollasch deleted the fix-489 branch May 8, 2020 03:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants