(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index d794a0f..b4b61c5 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -390,12 +390,11 @@ void display() {
         SceneObject so = sceneObjs[i];\r
 \r
         // Apply rotation vector\r
-        GLfloat* rv = &so.rotation.vector;\r
-        printf("%f, %f, %f\n", rv[0], rv[1], rv[2]);\r
+        GLfloat* rv = so.rotation.vector;\r
         glRotatef(so.rotation.amount, rv[0], rv[1], rv[2]);\r
 \r
         // Apply scaling vector\r
-        GLfloat* sv = &so.scale;\r
+        GLfloat* sv = so.scale;\r
         glScalef(sv[0], sv[1], sv[2]);\r
 \r
         // Apply translation vector\r

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