Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,假设我有 P0 = (x, y, z) 并且我想相对于点 C = (Cx, Cy, Cz) 围绕 y 轴旋转它
我知道要应用的旋转矩阵是:
{ {cos(angle),0,sin(angle),0}, {0,1,0,0}, {-sin(angle),0,cos(angle),0}, {0,0,0 ,1} }
但是这个矩阵将用于相对于(0,0,0)旋转的情况,对吧?
我怎样才能做到这一点尊重不同的点?
P你的观点在哪里C,应该是原点和A变换矩阵的点。
P
C
A