# HG changeset patch # User John Tsiombikas # Date 1379514398 -10800 # Node ID 5a3ab7506c409d018e62c655d5f81bd2dbdf3ee1 # Parent d6dd6372add64cf0cb152a1e7856547f23f946d4 whatever diff -r d6dd6372add6 -r 5a3ab7506c40 src/main.cc --- a/src/main.cc Sun Sep 15 22:14:41 2013 +0300 +++ b/src/main.cc Wed Sep 18 17:26:38 2013 +0300 @@ -99,8 +99,7 @@ gluPerspective(45.0, (float)width / (float)height, 0.5, 500.0); glMatrixMode(GL_MODELVIEW); - glLoadIdentity(); - glTranslatef(0, 0, -8); + cam.use(); float lpos[] = {0, 60, 0, 1}; glLightfv(GL_LIGHT0, GL_POSITION, lpos);