Shift the origin of the transformation specified by this to (x
, y
).
In other words, calculate the matrix that:
x
, -y
).x
, y
).this |
a Matrix3 |
x |
x coordinate of new origin |
y |
y coordinate of new origin. |