(no commit message)
authorAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 13:03:14 +0000 (21:03 +0800)
committerAsh Tyndall <[email protected]>
Tue, 18 Oct 2011 13:03:14 +0000 (21:03 +0800)
scene.c

diff --git a/scene.c b/scene.c
index b4469b7..e1b053f 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -626,14 +626,11 @@ void display() {
 \r
     /* Perform scene rotations based on user mouse input. */\r
     glRotatef(angle, 0.0, 1.0, 0.0);\r
-    glRotatef(angle2, 1.0, 0.0, 0.0);\r
+    //glRotatef(angle2, 1.0, 0.0, 0.0); **NOTE: Only one degree of freedom\r
 \r
     glLightfv(GL_LIGHT0, GL_POSITION, lightPosition);\r
 \r
-    glEnable(GL_BLEND);\r
-    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);\r
     drawFloor();\r
-    glDisable(GL_BLEND);\r
 \r
     glPushMatrix();\r
     \r

UCC git Repository :: git.ucc.asn.au