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

InstancedMesh: Optimize raycast(). #25606

Merged
merged 1 commit into from
Mar 3, 2023
Merged

InstancedMesh: Optimize raycast(). #25606

merged 1 commit into from
Mar 3, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Mar 2, 2023

Related issue: #25591

Description

This PR optimizes InstancedMesh.raycast() a bit by checking the bounding sphere first before testing individual instances.

@Mugen87 Mugen87 added this to the r151 milestone Mar 2, 2023
@Mugen87 Mugen87 merged commit 3ddaae1 into mrdoob:dev Mar 3, 2023
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.

1 participant