If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
-
wuallen
- Posts: 67
- Joined: Thu Jan 25, 2007 3:07 am
- Location: Shanghai
Post
by wuallen »
How do Opengl coordinate become irrlicht coordinate?
Opengl matrix is rotation, and Opengl rotation matrix is 4*4.
How do opengl matrix become irrlicht rotation "vector"?
"openGL matrix -> irrlicht matrix -> rotation vecter"
Is it right? How do opengl matrix become irrlicht matrix?
-
hybrid
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
-
Contact:
Post
by hybrid »
Irrlicht also has a 4x4 matrix. Check matrix4.h, method getRotationDegrees on how to get the values back into Euler angles.