Skip to content

Conversation

patrikhuber
Copy link

@patrikhuber patrikhuber commented Aug 17, 2016

This fixes issues when int is not explicitly convertible to type T, and for example only has an operator* defined that takes two Ts but not a T and an int.

All the other functions in that file already use this syntax, so the missing ones here are most likely an oversight.

This fixes issues when the type T is not explicitly convertible to T, and for example only has an operator* defined that takes two Ts but not a T and an int.

All the other functions in that file already use this syntax, so the missing ones here are most likely an oversight.
@Groovounet
Copy link
Member

I agree, this is an oversight, thanks for contributing!
Christophe

@Groovounet Groovounet closed this Aug 17, 2016
@Groovounet Groovounet reopened this Aug 17, 2016
@Groovounet Groovounet merged commit c54714d into g-truc:master Aug 17, 2016
Groovounet added a commit that referenced this pull request Aug 17, 2016
@patrikhuber
Copy link
Author

Awesome, thanks! :-)
-Patrik

@patrikhuber patrikhuber deleted the fix-quaternion-typeconversion branch October 4, 2016 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants