コード例 #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);
        }
コード例 #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);
        }
コード例 #3
0
ファイル: Quat4d.cs プロジェクト: xuchuansheng/GenXSource
		/// <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);
		}
コード例 #4
0
ファイル: Quat4d.cs プロジェクト: xuchuansheng/GenXSource
		/// <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);
		}