Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Simple (not for me) rotation question

Hybrid View

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2013
    Posts
    16

    Simple (not for me) rotation question

    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.

  2. #2
    Junior Member Newbie
    Join Date
    Sep 2013
    Posts
    16
    Sorry I didn't look enough through GLM manual... glm::rotate is the simple solution...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •