Example #1
0
 /// <summary>
 /// Transposes this matrix in place.
 /// </summary>
 public void Transpose()
 {
     CoreUtil.Swap(ref M10, ref M01);
     CoreUtil.Swap(ref M20, ref M02);
     CoreUtil.Swap(ref M30, ref M03);
     CoreUtil.Swap(ref M21, ref M12);
     CoreUtil.Swap(ref M31, ref M13);
     CoreUtil.Swap(ref M32, ref M23);
 }
Example #2
0
 /// <summary>
 /// Transposes this matrix in place.
 /// </summary>
 public void Transpose()
 {
     CoreUtil.Swap(ref M10, ref M01);
 }