originate
Description:
Shift the origin of the transformation specified by this to (x
, y
).
In other words, calculate the matrix that:
- Translates the input by (-
x
, -y
). - Transforms the result using the original this.
- Translates the result by (
x
,y
).
Parameters:
this |
a Matrix3 |
x |
x coordinate of new origin |
y |
y coordinate of new origin. |