given a quaternion, how to calculate the new vector of a three-dimensional vector rotated by this quaternion?
Quaternion refers to Quaternion of the threeJS document
I understand the formula for calculating rotation of quaternions. I can write it myself, but I always think that the quaternion of threejs must have an api that can be calculated. I don"t have to write it myself, but I can"t find it in the interface document. Which one is it?
< hr >rotation formula reference: https://www.zhihu.com/questio.
if you want to calculate a dot
,:
1.
2.
3. 0:
4.
:
in this way, a quaternion rotation operation is completed.