PDA

View Full Version : Simple (not for me) rotation question



zedrummer
04-10-2014, 03:43 AM
Hello
If I want (using GLM) to perform the rotation of alpha radians of a mesh around the point (x,y,z) and with an axis orientation (of the rotation) is given by a vector (vx,vy,vz), how do I get the matrix for that, please?
Thanks a lot
Cathy L.

zedrummer
04-10-2014, 06:08 AM
Sorry I didn't look enough through GLM manual... glm::rotate is the simple solution...