This is not a Good Thing, and it can be avoided by using SLERP.
这不是件好事情,因此可以避免使用球形线性插值。
Rather than explaining SLERP in detail here (it's really just basic trigonometry), I'll give you some source code in a minute.
与其在这里详细讨论球形线性插值而言(它只是些基础的三角学),我宁愿稍后给你一些源代码。
Indeed, quaternions support spherical linear interpolation (abbreviated as SLERP), which means that points travel along the surface of a sphere as they are moved from one orientation to the next.
的确,四元数支持球形线性插值(SLERP),那意味着点沿着球体表面传播就像他们从一个方位移到另外一个一样。
Indeed, quaternions support spherical linear interpolation (abbreviated as SLERP), which means that points travel along the surface of a sphere as they are moved from one orientation to the next.
的确,四元数支持球形线性插值(SLERP),那意味着点沿着球体表面传播就像他们从一个方位移到另外一个一样。
应用推荐