Ejemplo n.º 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(Quat4f q1)
        {
            Quat4f tempQuat = new Quat4f(q1);

            tempQuat.inverse();
            this.mul(tempQuat);
        }
Ejemplo n.º 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(Quat4f q1, Quat4f q2)
        {
            Quat4f tempQuat = new Quat4f(q2);

            tempQuat.inverse();
            this.mul(q1, tempQuat);
        }
Ejemplo n.º 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(Quat4f q1)
		{
			Quat4f tempQuat = new Quat4f(q1);
			
			tempQuat.inverse();
			this.mul(tempQuat);
		}
Ejemplo n.º 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(Quat4f q1, Quat4f q2)
		{
			Quat4f tempQuat = new Quat4f(q2);
			
			tempQuat.inverse();
			this.mul(q1, tempQuat);
		}