valmian
12-13-2002, 10:32 AM
How to rotate screen using mouse motion without using gluLookAt()
nexusone
12-13-2002, 11:22 AM
Just use glRotate!
glRotatef( world_x, 1.0, 0.0, 0.0);
glRotatef( world_y, 0.0, 1.0, 0.0);
glRotatef( world_z, 0.0, 0.0, 1.0);
// then draw everything else.
Originally posted by valmian:
How to rotate screen using mouse motion without using gluLookAt()
valmian
12-14-2002, 06:52 AM
I know that but how to do the code for the mouse?
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.