Example #1
0
        /// <summary> Multiplies this quaternion by the inverse of quaternion q1 and places
        /// the value into this quaternion.  The value of the argument quaternion
        /// is preserved (this = this * q^-1).
        /// </summary>
        /// <param name="q1">the other quaternion
        /// </param>
        public void  mulInverse(Quat4d q1)
        {
            Quat4d tempQuat = new Quat4d(q1);

            tempQuat.inverse();
            this.mul(tempQuat);
        }
Example #2
0
        /// <summary> Multiplies quaternion q1 by the inverse of quaternion q2 and places
        /// the value into this quaternion.  The value of both argument quaternions
        /// is preservered (this = q1 * q2^-1).
        /// </summary>
        /// <param name="q1">the first quaternion
        /// </param>
        /// <param name="q2">the second quaternion
        /// </param>
        public void  mulInverse(Quat4d q1, Quat4d q2)
        {
            Quat4d tempQuat = new Quat4d(q2);

            tempQuat.inverse();
            this.mul(q1, tempQuat);
        }
Example #3
0
		/// <summary> Multiplies this quaternion by the inverse of quaternion q1 and places
		/// the value into this quaternion.  The value of the argument quaternion
		/// is preserved (this = this * q^-1).
		/// </summary>
		/// <param name="q1">the other quaternion
		/// </param>
		public void  mulInverse(Quat4d q1)
		{
			Quat4d tempQuat = new Quat4d(q1);
			
			tempQuat.inverse();
			this.mul(tempQuat);
		}
Example #4
0
		/// <summary> Multiplies quaternion q1 by the inverse of quaternion q2 and places
		/// the value into this quaternion.  The value of both argument quaternions 
		/// is preservered (this = q1 * q2^-1).
		/// </summary>
		/// <param name="q1">the first quaternion 
		/// </param>
		/// <param name="q2">the second quaternion
		/// </param>
		public void  mulInverse(Quat4d q1, Quat4d q2)
		{
			Quat4d tempQuat = new Quat4d(q2);
			
			tempQuat.inverse();
			this.mul(q1, tempQuat);
		}