(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 87e0f00..2a452b0 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -389,8 +389,9 @@ void display() {
         SceneObject so = sceneObjs[i];\r
 \r
         // Apply rotation vector\r
-        /*vector* rv = so.rotation.vect;\r
-        glRotatef(so.rotation.parameter, *rv[0], *rv[1], *rv[2]);\r
+        vector* rv = so.rotation.vect;\r
+        printf("%d, %d, %d\n", *rv[0], *rv[1], *rv[2]);\r
+       /* glRotatef(so.rotation.parameter, *rv[0], *rv[1], *rv[2]);\r
 \r
         // Apply scaling vector\r
         vector* sv = so.scale;\r
@@ -405,8 +406,8 @@ void display() {
           glBindTexture(GL_TEXTURE_2D, so.texture);\r
         } else {\r
           glBindTexture(GL_TEXTURE_2D, 0);\r
-        }\r
-*/\r
+        }*/\r
+\r
         // Draw actual object\r
         if ( so.mesh > 0 ) {\r
           // drawMesh();\r

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