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

Remove unncessary divisions for mat inverses #149

Merged
merged 1 commit into from
Jan 4, 2014

Conversation

dustin-biser
Copy link

There were many divisions taking place, especially for the mat3 and mat4 types. This should speed things up a bit by preferring multiplications over divisions.

The bottom of the file already checks that the template type T is always a floating point type, so we won't need to worry about the integral division round off.

Groovounet added a commit that referenced this pull request Jan 4, 2014
Remove unncessary divisions for mat inverses
@Groovounet Groovounet merged commit 20e7fbc into g-truc:0.9.6 Jan 4, 2014
@Groovounet
Copy link
Member

Thanks for contributing,
Christophe

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