Exemplo n.º 1
0
        // Multiply inverse of "m" by "this" and assign the result to "this"
        public Perspective PreMultiplyInverse(Affine m)
        {
            Perspective t = new Perspective(m);

            t.Invert();
            Set(t.Multiply(this));
            return(this);
        }
Exemplo n.º 2
0
        // Multiply the matrix by another one and return the result in a separate matrix.
        public static Perspective operator *(Perspective a, Affine b)
        {
            Perspective temp = a;

            temp.Multiply(b);

            return(temp);
        }
Exemplo n.º 3
0
        //------------------------------------------------------------------------
        public Perspective PreMultiplyInverse(Perspective m)
        {
            Perspective t = m;

            t.Invert();
            Set(t.Multiply(this));
            return(this);
        }
Exemplo n.º 4
0
 // Multiply inverse of "m" by "this" and assign the result to "this"
 public Perspective PreMultiplyInverse(Affine m)
 {
     Perspective t=new Perspective(m);
     t.Invert();
     Set(t.Multiply(this));
     return this;
 }