Quaternion and normalization

前端 未结 6 1417
遇见更好的自我
遇见更好的自我 2020-12-23 12:34

I know that quaternions need to be normalized if I want to rotate a vector.

But are there any reasons to not automatically normalize a quaternion? And if there are,

6条回答
  •  别那么骄傲
    2020-12-23 13:17

    your question is ambigious but if u need to normalize a quaternion is simple

    q_normalized = q /square(norm(q))

    with, q = q1 +q2i +q3 j +q4 k norm (q) = (q1)^2 + (q2)^2 + (q3)^2) + (q4)^4

    if else explain to me your question

提交回复
热议问题