Q3Quaternion_MatchReflection
You can use theQ3Quaternion_MatchReflectionfunction to match the orientation of a quaternion.
TQ3Quaternion *Q3Quaternion_MatchReflection ( const TQ3Quaternion *q1, const TQ3Quaternion *q2, TQ3Quaternion *result);
q1- A quaternion.
q2- A quaternion.
result- On exit, a quaternion that is either
q1or the negative ofq1, and that matches the orientation ofq2.DESCRIPTION
TheQ3Quaternion_MatchReflectionfunction returns, as its function result and in theresultparameter, a quaternion that is either identical to the quaternion specified by theq1parameter or is the negative ofq1, depending on whetherq1or its negative matches the orientation of the quaternion specified by theq2parameter.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help