Created
January 9, 2014 22:56
-
-
Save Klaim/8343687 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool orientationEquals( Quaternion a, Quaternion b) | |
{ | |
a.normalize(); b.normalize(); | |
return a.xAxis().positionEquals( b.xAxis() ) | |
&& a.yAxis().positionEquals( b.yAxis() ) | |
&& a.yAxis().positionEquals( b.yAxis() ) | |
; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment