c - Camera will not move in OpenGL -


i having problems using camera in opengl/freeglut. here code:

http://pastebin.com/vci3bjq5

(for reason, when paste code code feature on site, gives extremely weird output.)

as far can tell should rotate camera when arrow keys pressed - nothing. seems initial camera position wrong. clue why is?

the display function called once. need either set idle function glutidlefunc() or tell glut display function must called again glutpostredisplay().


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -