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.
假设我有一个 3D 向量的 y 分量,并且我有一个表示最终所需向量方向的单位向量。我将如何解决 X 和 Z 分量?谢谢!
简单比率,其中u*是单位向量分量
u*
dx = ux * dy / uy dz = uz * dy / uy
(因为单位向量分量被定义为ux = dx / Lencommon Len,并且dy/uy实际上是向量长度)
ux = dx / Len
Len
dy/uy