pub fn from_col_nested(data: [[T; 3]; 3]) -> Mat3<T> {
        Mat3 {
            a11: data[0][0], a12: data[0][1], a13: data[0][2],
            a21: data[1][0], a22: data[1][1], a23: data[1][2],
            a31: data[2][0], a32: data[2][1], a33: data[2][2],
        }
    }
/// Creates a new matrix from a 3x3 array.
Creates a new matrix from a 3x3 array.
Creates a new matrix from a 3x3 array .
pub fn from_col_nested(data: [[T; 3]; 3]) -> Mat3<T> {
        Mat3 {
            a11: data[0][0], a12: data[0][1], a13: data[0][2],
            a21: data[1][0], a22: data[1][1], a23: data[1][2],
            a31: data[2][0], a32: data[2][1], a33: data[2][2],
        }
    }
pub fn from_col_nested ( data : [ [ T ; 3 ] ; 3 ] ) -> Mat3 < T > { Mat3 { a11 : data [ 0 ] [ 0 ] , a12 : data [ 0 ] [ 1 ] , a13 : data [ 0 ] [ 2 ] , a21 : data [ 1 ] [ 0 ] , a22 : data [ 1 ] [ 1 ] , a23 : data [ 1 ] [ 2 ] , a31 : data [ 2 ] [ 0 ] , a32 : data [ 2 ] [ 1 ] , a33 : data [ 2 ] [ 2 ] , } }
Creates a new matrix from a 3x3 array.
Creates a new matrix from a 3x3 array .
data
[[T; 3]; 3]
data
[[T; 3]; 3]