pub fn scaling_by_axes(scale: Vec2<T>) -> Mat3<T> {
        Mat3 {
            a11: scale.x, a22: scale.y,
            .. Mat3::IDENTITY
        }
    }
/// Creates a scaling matrix which scales by a unique amount along each axis. The created
/// matrix is intended for scaling 2d vectors.
Creates a scaling matrix which scales by a unique amount along each axis. The created
matrix is intended for scaling 2d vectors.
Creates a scaling matrix which scales by a unique amount along each axis . The created matrix is intended for scaling 2d vectors .
pub fn scaling_by_axes(scale: Vec2<T>) -> Mat3<T> {
        Mat3 {
            a11: scale.x, a22: scale.y,
            .. Mat3::IDENTITY
        }
    }
pub fn scaling_by_axes ( scale : Vec2 < T > ) -> Mat3 < T > { Mat3 { a11 : scale . x , a22 : scale . y , .. Mat3 :: 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>