multiply() private method

private multiply ( Affine a ) : Perspective
a Affine
return Perspective
        // 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);
        }
        // Multiply inverse of "m" by "this" and assign the result to "this"
        Perspective premultiply_inv(Affine m)
        {
            Perspective t = new Perspective(m);

            t.invert();
            Set(t.multiply(this));
            return(this);
        }
        //------------------------------------------------------------------------
        Perspective premultiply_inv(Perspective m)
        {
            Perspective t = m;

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