12-21-2001, 09:45 AM
For some reason I can't seem to get
glRotatef() to work correctly in my programs
I did try running Nehe's sample programs(Linux ports)
and they worked so it has nothing to do with
the installation of OpenGL.
When I try to rotate of the X acess with code
like
rotate += 1.0f;
glLoadIdentify();
glTranslate(0.0f,0.0f,-3.0f);
glRotatef(rotate,1.0f,0.0f,0.0f);
I get the object translating in the angle it is rotating.
glRotatef() to work correctly in my programs
I did try running Nehe's sample programs(Linux ports)
and they worked so it has nothing to do with
the installation of OpenGL.
When I try to rotate of the X acess with code
like
rotate += 1.0f;
glLoadIdentify();
glTranslate(0.0f,0.0f,-3.0f);
glRotatef(rotate,1.0f,0.0f,0.0f);
I get the object translating in the angle it is rotating.