MTExample5_5.Matrix3.Scale3 C# (CSharp) Method

Scale3() public static method

public static Scale3 ( float sx, float sy, float sz ) : Matrix3
sx float
sy float
sz float
return Matrix3
        public static Matrix3 Scale3(float sx, float sy, float sz)
        {
            var result = new Matrix3 ();
            result.M[0, 0] = sx;
            result.M[1, 1] = sy;
            result.M[2, 2] = sz;
            return result;
        }