I tried the GLM math library (http://glm.g-truc.net/).
Please, can anyone tell me how to do quaternion multiplication with this library ? -> q3 = q1 * q2.
There is no operator overloaded that takes a quaternion for multiplication and there is no fucntion glm::mul that takes
two quaternions for multiplications.
solved.
It seems, the cross product of two quaternion is the same
, respectivly, represents the multiplication of two quaternions.
I thought there is a different.
Quaternions, just like vectors have a dot and a cross product. To avoid a confusion with what the product defined by *, cross and dot functions are used. * Is actually a component wise operator… just like GLSL vectors.