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

graphene_box_get_bounding_sphere is incorrect #165

Closed
alexlarsson opened this issue Aug 8, 2019 · 0 comments · Fixed by #166
Closed

graphene_box_get_bounding_sphere is incorrect #165

alexlarsson opened this issue Aug 8, 2019 · 0 comments · Fixed by #166

Comments

@alexlarsson
Copy link
Contributor

It calculates the center as box_size * 0.5, but that always puts the box at the origin. It need to add box->min to center too.

ebassi added a commit that referenced this issue Aug 8, 2019
Instead of open-coding it, we should reuse the existing Box API, so we
avoid duplicating bugs.

Fixes: #165
ebassi added a commit that referenced this issue Aug 8, 2019
Instead of open-coding it, we should reuse the existing Box API, so we
avoid duplicating bugs.

Fixes: #165
ebassi added a commit that referenced this issue Aug 8, 2019
Instead of open-coding it, we should reuse the existing Box API, so we
avoid duplicating bugs.

Fixes: #165
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 a pull request may close this issue.

1 participant