Closed bvssvni closed 9 years ago
Rotates a 3D vector by a quaternion.
The formula is:
where P is:
Can make the it faster by substituting the scalar value with 0 in the multiplication algorithm.
Done by https://github.com/PistonDevelopers/quaternion/pull/14
Rotates a 3D vector by a quaternion.
The formula is:
where P is:
Can make the it faster by substituting the scalar value with 0 in the multiplication algorithm.