Content deleted Content added
→Vector rotation: Use consistent notation for the vector rotation section "Q = (Q_w,vec(Q))" hope I got it right |
→Vector rotation: Remove irrelevent mention of ijk |
||
Line 261:
== Vector rotation ==
Let us define scalar <math>q_w</math> and vector <math>\vec{q}</math> such that quaternion <math>\mathbf{q} = (q_w,\vec{q})
Note that the canonical way to rotate a three-dimensional vector <math>\vec{v}</math> by a quaternion <math>q</math> defining an [[#Conversion|Euler rotation]] is via the formula
:<math>\mathbf{v}^{\,\prime} = \mathbf{qvq}^\ast</math>
where <math>\mathbf{v} = (0,\vec{v})
:<math>\vec{t} = 2\vec{q} \times \vec{v}</math>
:<math>\vec{v}^{\,\prime} = \vec{v} + q_w \vec{t} + \vec{q} \times \vec{t}</math>
|