Skip to content

Conversation

@hollasch
Copy link
Collaborator

These should be random_on_hemisphere.

Resolves #1198

These should be random_on_hemisphere.

Resolves #1198
@hollasch hollasch added this to the v4.0.0 milestone Aug 12, 2023
@hollasch hollasch requested a review from trevordblack August 12, 2023 18:00
@hollasch hollasch self-assigned this Aug 12, 2023
const override {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ C++ highlight
auto scatter_direction = random_in_hemisphere(rec.normal);
auto scatter_direction = random_on_hemisphere(rec.normal);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that on is really what we want. If we really do want on, then we'll need to implement it. Also note that this code is quickly replaced later in the text.

@hollasch hollasch added the Review Post-merge PRs to be reviewed label Aug 13, 2023
@hollasch hollasch merged commit bcb99f5 into dev Aug 13, 2023
@hollasch hollasch deleted the fix/random_in_hemisphere branch August 13, 2023 17:26
@hollasch hollasch removed the Review Post-merge PRs to be reviewed label Jul 26, 2024
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.

random_in/on_hemisphere

1 participant