I am looking at someone else's code, and in it they have a quaternion multiplied with a scalar in order to produce a vector.
He used the boost library, and can't find exactly where they defined the overloaded operator, so I need to make sense of this math myself and write it my own.
To my understanding when you multiply a quaternion with a scalar you just times each w,x,y,z component with the scalar. Problem is I don't think there is a way to convert from quaternion to vector.
Do you just take the corresponding x,y, and z values? Or am I going about this wrong?
Thanks!