Multiply() public static méthode

Multiply two quaternions.
public static Multiply ( JQuaternion quaternion1, JQuaternion quaternion2 ) : JQuaternion
quaternion1 JQuaternion The first quaternion.
quaternion2 JQuaternion The second quaternion.
Résultat JQuaternion
        /// <summary>
        /// Scale a quaternion
        /// </summary>
        /// <param name="quaternion1">The quaternion to scale.</param>
        /// <param name="scaleFactor">Scale factor.</param>
        /// <returns>The scaled quaternion.</returns>
        #region public static JQuaternion Multiply(JQuaternion quaternion1, double scaleFactor)
        public static JQuaternion Multiply(JQuaternion quaternion1, double scaleFactor)
        {
            JQuaternion result;

            JQuaternion.Multiply(ref quaternion1, scaleFactor, out result);
            return(result);
        }
        /// <summary>
        /// Multiply two quaternions.
        /// </summary>
        /// <param name="value1">The first quaternion.</param>
        /// <param name="value2">The second quaternion.</param>
        /// <returns>The product of both quaternions.</returns>
        #region public static double operator *(JQuaternion value1, JQuaternion value2)
        public static JQuaternion operator *(JQuaternion value1, JQuaternion value2)
        {
            JQuaternion result;

            JQuaternion.Multiply(ref value1, ref value2, out result);
            return(result);
        }
        /// <summary>
        /// Multiply two quaternions.
        /// </summary>
        /// <param name="quaternion1">The first quaternion.</param>
        /// <param name="quaternion2">The second quaternion.</param>
        /// <returns>The product of both quaternions.</returns>
        #region public static JQuaternion Multiply(JQuaternion quaternion1, JQuaternion quaternion2)
        public static JQuaternion Multiply(JQuaternion quaternion1, JQuaternion quaternion2)
        {
            JQuaternion result;

            JQuaternion.Multiply(ref quaternion1, ref quaternion2, out result);
            return(result);
        }