public from_affine ( |
||
a | ||
return |
public Perspective from_affine(Affine a)
{
sx = a.sx;
shy = a.shy;
w0 = 0;
shx = a.shx;
sy = a.sy;
w1 = 0;
tx = a.tx;
ty = a.ty;
w2 = 1;
return this;
}