MTExample5_5.Matrix3.Perspective C# (CSharp) Méthode

Perspective() public static méthode

public static Perspective ( float d ) : Matrix3
d float
Résultat Matrix3
        public static Matrix3 Perspective(float d)
        {
            var result = new Matrix3 ();
            result.M[3, 2] = -1 / d;
            return result;
        }