Ejemplo n.º 1
0
        public static float Angle(QuaternionRightHand a, QuaternionRightHand b)
        {
            float f = QuaternionRightHand.Dot(a, b);

            return((float)Mathf.Acos(Mathf.Min(Mathf.Abs(f), 1f)) * 2f * 57.29578f);
        }
Ejemplo n.º 2
0
 public static bool operator !=(QuaternionRightHand lhs, QuaternionRightHand rhs)
 {
     return(QuaternionRightHand.Dot(lhs, rhs) <= 0.999999f);
 }