pub fn scaling(scale: T) -> Mat2<T> {
        Mat2 {
            a11: scale, a22: scale,
            .. Mat2::IDENTITY
        }
    }
/// Creates a scaling matrix which scales by the given amount along all axes.
Creates a scaling matrix which scales by the given amount along all axes.
Creates a scaling matrix which scales by the given amount along all axes .
pub fn scaling(scale: T) -> Mat2<T> {
        Mat2 {
            a11: scale, a22: scale,
            .. Mat2::IDENTITY
        }
    }
pub fn scaling ( scale : T ) -> Mat2 < T > { Mat2 { a11 : scale , a22 : scale , .. Mat2 :: IDENTITY } }
Creates a scaling matrix which scales by the given amount along all axes.
Creates a scaling matrix which scales by the given amount along all axes .
scale
T
scale
T