pub fn from_row_flat(data: [T; 9]) -> Mat3<T> {
        Mat3 {
            a11: data[0],  a12: data[1],  a13: data[2],
            a21: data[3],  a22: data[4],  a23: data[5],
            a31: data[6],  a32: data[7],  a33: data[8],
        }
    }
/// Creates a new matrix from a flat array
Creates a new matrix from a flat array
Creates a new matrix from a flat array
pub fn from_row_flat(data: [T; 9]) -> Mat3<T> {
        Mat3 {
            a11: data[0],  a12: data[1],  a13: data[2],
            a21: data[3],  a22: data[4],  a23: data[5],
            a31: data[6],  a32: data[7],  a33: data[8],
        }
    }
pub fn from_row_flat ( data : [ T ; 9 ] ) -> Mat3 < T > { Mat3 { a11 : data [ 0 ] , a12 : data [ 1 ] , a13 : data [ 2 ] , a21 : data [ 3 ] , a22 : data [ 4 ] , a23 : data [ 5 ] , a31 : data [ 6 ] , a32 : data [ 7 ] , a33 : data [ 8 ] , } }
Creates a new matrix from a flat array
Creates a new matrix from a flat array
data
[T; 9]
data
[T; 9]