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

bvh_node: don't modify source object list #730

Merged
merged 2 commits into from
Sep 27, 2020
Merged

Conversation

hollasch
Copy link
Collaborator

Instead of reordering the vector of scene objects passed to the
bvh_node constructor, it now creates a local copy instead. For some
reason, this is actually slightly faster.

Resolves #701

Instead of reordering the vector of scene objects passed to the
`bvh_node` constructor, it now creates a local copy instead. For some
reason, this is actually slightly faster.

Resolves #701
@hollasch hollasch added this to the v3.2.1 milestone Sep 12, 2020
@hollasch hollasch requested a review from a team September 12, 2020 03:30
@hollasch hollasch self-assigned this Sep 12, 2020
@trevordblack
Copy link
Collaborator

Neat. Ship it.

@hollasch hollasch merged commit d7e3745 into dev-patch Sep 27, 2020
@hollasch hollasch deleted the no-modify-objects-list branch September 27, 2020 05:57
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