From: Ash Tyndall Date: Tue, 18 Oct 2011 13:03:14 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b03479cc770df967f68e22319ee748dd26c448d4;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index b4469b7..e1b053f 100644 --- a/scene.c +++ b/scene.c @@ -626,14 +626,11 @@ void display() { /* Perform scene rotations based on user mouse input. */ glRotatef(angle, 0.0, 1.0, 0.0); - glRotatef(angle2, 1.0, 0.0, 0.0); + //glRotatef(angle2, 1.0, 0.0, 0.0); **NOTE: Only one degree of freedom glLightfv(GL_LIGHT0, GL_POSITION, lightPosition); - glEnable(GL_BLEND); - glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); drawFloor(); - glDisable(GL_BLEND); glPushMatrix();