Quaternion Rotation
Rotate the vector by a quaternion.
blockType: SubSystem
Path in the library:
|
Description
Block Quaternion Rotation calculates the resulting vector after passively rotating the original vector vec by a quaternion and returns the final vector, the rotated vector, or the vector of rotated vectors.
The quaternion has the form:
The vector has the form:
Engee defines the rotation of a vector by a quaternion in the form:
Where — the quaternion multiplication operator.
The final vector has the form: