这里的矩阵按行主序
Matrix Rotation = [
cosA -sinA 0 0
sinA cosA 0 0
0 0 1 0
0 0 0 1
]
Matrix Scale = [
Sx 0 0 0
0 Sy 0 0
0 0 Sz 0
0 0 0 1
]
Matrix Translate = [
0 0 0 Tx
0 0 0 Ty
0 0 0 Tz
0 0 0 1
]
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/279776.html