oculus1
diff src/main.cc @ 7:5a3ab7506c40
whatever
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 18 Sep 2013 17:26:38 +0300 |
parents | d6dd6372add6 |
children | 3265970a7315 |
line diff
1.1 --- a/src/main.cc Sun Sep 15 22:14:41 2013 +0300 1.2 +++ b/src/main.cc Wed Sep 18 17:26:38 2013 +0300 1.3 @@ -99,8 +99,7 @@ 1.4 gluPerspective(45.0, (float)width / (float)height, 0.5, 500.0); 1.5 1.6 glMatrixMode(GL_MODELVIEW); 1.7 - glLoadIdentity(); 1.8 - glTranslatef(0, 0, -8); 1.9 + cam.use(); 1.10 1.11 float lpos[] = {0, 60, 0, 1}; 1.12 glLightfv(GL_LIGHT0, GL_POSITION, lpos);