Ble*_*der 12
均匀坐标:
[ cos(theta) -sin(theta) 0 ]
Rotate = [ sin(theta) cos(theta) 0 ]
[ 0 0 1 ]
[ 1 0 x ]
Translate = [ 0 1 y ]
[ 0 0 1 ]
Run Code Online (Sandbox Code Playgroud)
因此,为了执行转换,您需要乘以Translate(x, y) * Rotate(theta) * Translate(-x, -y)并获得转换矩阵.