Exemple #1
0
 /// <summary>
 /// Adds two quaternions.
 /// </summary>
 /// <param name="a">A <see cref="QuaternionD"/> instance.</param>
 /// <param name="b">A <see cref="QuaternionD"/> instance.</param>
 /// <returns>A new <see cref="QuaternionD"/> instance containing the sum.</returns>
 public static QuaternionD operator+(QuaternionD a, QuaternionD b)
 {
     return(QuaternionD.Add(a, b));
 }
 /// <summary>
 /// Adds two quaternions.
 /// </summary>
 /// <param name="left">A <see cref="QuaternionD"/> instance.</param>
 /// <param name="right">A <see cref="QuaternionD"/> instance.</param>
 /// <returns>A new <see cref="QuaternionD"/> instance containing the sum.</returns>
 public static QuaternionD operator +(QuaternionD left, QuaternionD right)
 {
     return(QuaternionD.Add(left, right));
 }