Quaternion to rotation matrix
Submitted by Hauke Strasdat
Assigned to Nobody
Link to original bugzilla bug (#458)
Version: 3.4 (development)
Description
Created attachment 266
patch
I find it quite counter-intuitive that Quaternion::toRotationMatrix only returns an orthogonal matrix, if the quaternion is normalized, but something meaningless
otherwise.
Using a single division, this conversion can be performed for general non-zero quaternions (see patch).
Patch 266, "patch":
quaternion_to_rotation.patch