This topic is now archived and is closed to further replies.



Recommended Posts

Hi, I use this code for change angle on the cammra but something isn´t right... i do this before i draw something else... glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); glRotatef(360.0f - renderangle.x,1,0,0); glRotatef(360.0f - renderangle.y,0,1,0); glRotatef(360.0f - renderangle.z,0,0,1); Any ideas?

Share this post

Link to post
Share on other sites