$begingroup$

enter image description here

So the equal code in GLM of the above image can be like this:

glm::quat q;
glm::vec3 v;
glm::vec3 rotated_vector = q * v;

and the rotated_vector above is the results of making use of the Lq transformation to vector v.

Am I proper on this?
The image is from this hyperlink:
http://graphics.stanford.edu/programs/cs348a-17-winter/Papers/quaternion.pdf

peter is a brand new contributor to this website. Take care in asking for clarification, commenting, and answering.
Take a look at our Code of Conduct.

$endgroup$

1


You have to
log in to reply this query.


Browse different questions tagged .