Example #1
0
 public void Set(Mat3 rhs)
 {
     this.Set(rhs.m00, rhs.m01, rhs.m02, rhs.m10, rhs.m11, rhs.m12, rhs.m20, rhs.m21, rhs.m22);
 }
Example #2
0
 public Mat3(Mat3 rhs)
 {
     this.Set(rhs);
 }
Example #3
0
 public static float Off(Mat3 a)
 {
     return(Mathf.Sqrt((a.m01 * a.m01) + (a.m02 * a.m02) + (a.m10 * a.m10)
                       + (a.m12 * a.m12) + (a.m20 * a.m20) + (a.m21 * a.m21)));
 }
Example #4
0
 public static void Transpose(Mat3 mout, Mat3 a)
 {
     mout.Set(a.m00, a.m10, a.m20, a.m01, a.m11, a.m21, a.m02, a.m12, a.m22);
 }
Example #5
0
 public static float Fnorm(Mat3 a)
 {
     return(Mathf.Sqrt((a.m00 * a.m00) + (a.m01 * a.m01) + (a.m02 * a.m02)
                       + (a.m10 * a.m10) + (a.m11 * a.m11) + (a.m12 * a.m12)
                       + (a.m20 * a.m20) + (a.m21 * a.m21) + (a.m22 * a.m22)));
 }