-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 signed distance to bounding sphere. #6452
Conversation
@bagnell, thanks for the pull request! Maintainers, we have a signed CLA from @bagnell, so you can review this at any time.
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed fixed. Thanks!
Will wait for Travis... |
Hmm. Are there test failures here? |
Looks like it. I couldn't reproduce it locally though. |
I was able to see it in Jasmine locally when running the whole test suite, but not running It's too much of a red flag that this is a bounding-sphere related test fail, and I don't see it in master or other recent PRs. I think it's local to this branch, unfortunately. |
Also Travis didn't get the same result as Jasmine. Here's Travis:
|
Just to confirm, I can reproduce the failure locally every time with:
it does not happen at all for me in master |
I reverted the changes to what was in 1.44. The distance to bounding sphere wasn't needed for log depth but I noticed that it was returning a size for volumes behind the camera. |
Looks good, tests pass. Thanks @bagnell. |
Fixes #6451.
CC @emackey