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

Fix the code for calculating mesh points on Capsule_1 prims #3129

Merged

Conversation

marktucker
Copy link
Contributor

Fix the code for calculating mesh points on Capsule_1 prims with different
top and bottom radii. The code to calculate the angle between the spheres was incorrect.

Description of Change(s)

The code used to use acos(rdiff/height) to calculate the angle between the top and bottom spheres, but rdiff/height is opposite/adjacent for the angle of interest, and so needed to use atan to return the correct value.

Fixes Issue(s)

…erent

top and bottom radii. The code to calculate the angle between the spheres
was incorrect.
@jesschimein
Copy link

Filed as internal issue #USD-9778

@jesschimein
Copy link

/AzurePipelines run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pixar-oss pixar-oss merged commit e626f90 into PixarAnimationStudios:dev Jun 28, 2024
5 checks passed
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.

3 participants