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 rotatable 2D crash #4992

Merged
merged 1 commit into from
Feb 10, 2017
Merged

Fix rotatable 2D crash #4992

merged 1 commit into from
Feb 10, 2017

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented Feb 10, 2017

Fixes #4619. Floating point error was causing the maximum far plane of the frustum to be greater than the far plane of the farthest frustum in the multi-frustum by 1e-10. Added an epsilon check to stop possibility of infinite recursion.

@pjcozzi
Copy link
Contributor

pjcozzi commented Feb 10, 2017

Update CHANGES.md.

Are you sure we don't want a smaller epsilon since this is 64-bit floating point?

@pjcozzi
Copy link
Contributor

pjcozzi commented Feb 10, 2017

to be greater than the far plane of the farthest frustum in the multi-frustum by 1e-10

Ah, OK.

@pjcozzi
Copy link
Contributor

pjcozzi commented Feb 10, 2017

Looks good crashes in 1.30, but not this branch.

I'll update CHANGES.md.

@pjcozzi pjcozzi merged commit c02aeae into master Feb 10, 2017
@pjcozzi pjcozzi deleted the rotatable-2d-crash branch February 10, 2017 23:00
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