How to position object using forward, top and center coordinates in opengl.

Posted by Artyom on Stack Overflow See other posts from Stack Overflow or by Artyom
Published on 2010-04-10T14:44:31Z Indexed on 2010/04/10 14:53 UTC
Read the original article Hit count: 424

Filed under:
|

Hello

I have a scene and an object placed in some coordinates. I can transform the object using glTranslate(center) and then glRotate...

But how do I rotate an object not using angles but rather directions top and forward?

Thanks

© Stack Overflow or respective owner

Related posts about opengl

Related posts about positioning