(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 2a452b0..902e599 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -112,6 +112,7 @@ void processLightEvents(int id) {
 void processObjectEvents(int id) {\r
   // **NOTE: For the testing phase, only have the teapot\r
   addSceneObject(id);\r
+  glutPostRedisplay();\r
 }\r
 \r
 /**\r
@@ -390,7 +391,7 @@ void display() {
 \r
         // Apply rotation vector\r
         vector* rv = so.rotation.vect;\r
-        printf("%d, %d, %d\n", *rv[0], *rv[1], *rv[2]);\r
+        printf("%f, %f, %f\n", *rv[0], *rv[1], *rv[2]);\r
        /* glRotatef(so.rotation.parameter, *rv[0], *rv[1], *rv[2]);\r
 \r
         // Apply scaling vector\r

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