pub trait FromMatrixParts<T, const C: usize, const R: usize>where
    T: MatrixScalar,{
    // Required method
    fn from_parts(parts: [[T; R]; C]) -> Self;
}
Expand description

Enables the cration of a matrix (via [[T; R]; C])

Required Methods§

fn from_parts(parts: [[T; R]; C]) -> Self

Implementors§

§

impl FromMatrixParts<f32, 2, 2> for Mat2

§

impl FromMatrixParts<f32, 3, 3> for Mat3

§

impl FromMatrixParts<f32, 4, 4> for Mat4