Esempio n. 1
0
 /// <summary>
 /// Transposes this matrix.
 /// </summary>
 public void Transpose()
 {
     MathFunctions.Swap <double>(ref _m12, ref _m21);
     MathFunctions.Swap <double>(ref _m13, ref _m31);
     MathFunctions.Swap <double>(ref _m14, ref _m41);
     MathFunctions.Swap <double>(ref _m23, ref _m32);
     MathFunctions.Swap <double>(ref _m24, ref _m42);
     MathFunctions.Swap <double>(ref _m34, ref _m43);
 }
Esempio n. 2
0
 /// <summary>
 /// Transposes this matrix.
 /// </summary>
 public void Transpose()
 {
     MathFunctions.Swap(ref _m12, ref _m21);
     MathFunctions.Swap(ref _m13, ref _m31);
     MathFunctions.Swap(ref _m23, ref _m32);
 }
Esempio n. 3
0
 /// <summary>
 /// Transposes this matrix.
 /// </summary>
 public void Transpose()
 {
     MathFunctions.Swap <double>(ref _m12, ref _m21);
 }
Esempio n. 4
0
 /// <summary>
 /// Transposes this matrix.
 /// </summary>
 public void Transpose()
 {
     MathFunctions.Swap <float>(ref _m12, ref _m21);
 }