public static float Angle(Quaternion a, Quaternion b) { float f = Quaternion.Dot(a, b); return((float)Mathf.Acos(Mathf.Min(Mathf.Abs(f), 1f)) * 2f * 57.29578f); }
public static bool operator !=(Quaternion lhs, Quaternion rhs) { return(Quaternion.Dot(lhs, rhs) <= 0.999999f); }