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

[Math] Fix NaN issue in CalculateAngle #223

Merged
merged 1 commit into from Mar 16, 2015
Merged

Conversation

Frassle
Copy link
Contributor

@Frassle Frassle commented Feb 21, 2015

Clamp dot product between -1 and 1 so acos always has a valid input.

Fixes #222.

Clamp dot product between -1 and 1 so acos always has a valid input.
Frassle added a commit that referenced this pull request Mar 16, 2015
[Math] Fix NaN issue in CalculateAngle
@Frassle Frassle merged commit 282f1d1 into opentk:develop Mar 16, 2015
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.

None yet

1 participant