From: Ash Tyndall Date: Sat, 22 Oct 2011 08:38:50 +0000 (+0800) Subject: Remove referenes to keyboard debugging function. Electing not to use glColorMaterial... X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=HEAD;ds=sidebyside Remove referenes to keyboard debugging function. Electing not to use glColorMaterial lighting. --- diff --git a/scene.c b/scene.c index aabad99..69c5a82 100644 --- a/scene.c +++ b/scene.c @@ -356,10 +356,8 @@ void display() { glPushMatrix(); - /* Perform scene rotations based on user mouse/keyboard input. */ + /* Perform scene rotations based on user mouse input. */ glRotatef(rotate*camRotateFactor, 0.0, 1.0, 0.0); - glTranslatef(camx, camy, camz); - glRotatef(keyrot, 1.0, 0.0, 0.0); drawFloor();