예제 #1
0
 /// <summary>
 /// Divides a quaternion by a scalar.
 /// </summary>
 /// <param name="q">A <see cref="QuaternionD"/> instance.</param>
 /// <param name="s">A scalar.</param>
 /// <returns>A <see cref="QuaternionD"/> instance to hold the result.</returns>
 public static QuaternionD operator/(QuaternionD q, double s)
 {
     return(QuaternionD.Divide(q, s));
 }
예제 #2
0
 /// <summary>
 /// Divides a quaternion by a scalar.
 /// </summary>
 /// <param name="quaternion">A <see cref="QuaternionD"/> instance.</param>
 /// <param name="scalar">A scalar.</param>
 /// <returns>A <see cref="QuaternionD"/> instance to hold the result.</returns>
 public static QuaternionD operator /(QuaternionD quaternion, double scalar)
 {
     return(QuaternionD.Divide(quaternion, scalar));
 }