예제 #1
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);
        }
예제 #2
0
        //------------------------------------------------------------------------
        public Perspective premultiply_inv(Perspective m)
        {
            Perspective t = m;

            t.invert();
            Set(t.multiply(this));
            return(this);
        }
예제 #3
0
        // Multiply inverse of "m" by "this" and assign the result to "this"
        public Perspective premultiply_inv(Affine m)
        {
            Perspective t = new Perspective(m);

            t.invert();
            Set(t.multiply(this));
            return(this);
        }
예제 #4
0
 // Multiply inverse of "m" by "this" and assign the result to "this"
 public Perspective premultiply_inv(Affine m)
 {
     Perspective t=new Perspective(m);
     t.invert();
     Set(t.multiply(this));
     return this;
 }