pub fn scaling_by_axes(scale: Vec2<T>) -> Mat2<T> {
        Mat2 {
            a11: scale.x, a22: scale.y,
            .. Mat2::IDENTITY
        }
    }
/// Creates a scaling matrix which scales by a unique amount along each axis.
Creates a scaling matrix which scales by a unique amount along each axis.
Creates a scaling matrix which scales by a unique amount along each axis .
pub fn scaling_by_axes(scale: Vec2<T>) -> Mat2<T> {
        Mat2 {
            a11: scale.x, a22: scale.y,
            .. Mat2::IDENTITY
        }
    }
pub fn scaling_by_axes ( scale : Vec2 < T > ) -> Mat2 < T > { Mat2 { a11 : scale . x , a22 : scale . y , .. Mat2 :: IDENTITY } }
Creates a scaling matrix which scales by a unique amount along each axis.
Creates a scaling matrix which scales by a unique amount along each axis .
scale
Vec2<T>
scale
Vec2<T>