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); }
public Mat3(Mat3 rhs) { this.Set(rhs); }
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))); }
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); }
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))); }