PDA

View Full Version : glRotatef() Rotation Matrix



31337
04-30-2003, 04:51 PM
What is the matrix used by glRotatef for 3d position based rotation with an angle? I hear its in the red book but I can't find it. Thanks

shinpaughp
04-30-2003, 05:49 PM
Whichever matrix you have set with glMatrixMode or GL_MODELVIEW (default) if you have not set the matrix.

JONSKI
04-30-2003, 06:45 PM
http://www.opengl.org/developers/documentation/man_pages/hardcopy/GL/html/gl/rotate.html


go to: http://www.opengl.org/
click "documentation"
click "OpenGL Specification & Manual Pages"
click "OpenGL Manual Pages (HTML)"
click "__gl/"

31337
05-01-2003, 07:13 PM
Thanks guys