pub fn from_row_flat(data: [T; 16]) -> Mat4<T> {
        Mat4 {
            a11: data[0],  a12: data[1],  a13: data[2],  a14: data[3],
            a21: data[4],  a22: data[5],  a23: data[6],  a24: data[7],
            a31: data[8],  a32: data[9],  a33: data[10], a34: data[11],
            a41: data[12], a42: data[13], a43: data[14], a44: data[15],
        }
    }
/// 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; 16]) -> Mat4<T> {
        Mat4 {
            a11: data[0],  a12: data[1],  a13: data[2],  a14: data[3],
            a21: data[4],  a22: data[5],  a23: data[6],  a24: data[7],
            a31: data[8],  a32: data[9],  a33: data[10], a34: data[11],
            a41: data[12], a42: data[13], a43: data[14], a44: data[15],
        }
    }
pub fn from_row_flat ( data : [ T ; 16 ] ) -> Mat4 < T > { Mat4 { a11 : data [ 0 ] , a12 : data [ 1 ] , a13 : data [ 2 ] , a14 : data [ 3 ] , a21 : data [ 4 ] , a22 : data [ 5 ] , a23 : data [ 6 ] , a24 : data [ 7 ] , a31 : data [ 8 ] , a32 : data [ 9 ] , a33 : data [ 10 ] , a34 : data [ 11 ] , a41 : data [ 12 ] , a42 : data [ 13 ] , a43 : data [ 14 ] , a44 : data [ 15 ] , } }
Creates a new matrix from a flat array
Creates a new matrix from a flat array
data
[T; 16]
data
[T; 16]