(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 12:28:39 +0000 (20:28 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 12:28:39 +0000 (20:28 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 902e599..b55b491 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -391,7 +391,7 @@ void display() {
 \r
         // Apply rotation vector\r
         vector* rv = so.rotation.vect;\r
 \r
         // Apply rotation vector\r
         vector* rv = so.rotation.vect;\r
-        printf("%f, %f, %f\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
        /* glRotatef(so.rotation.parameter, *rv[0], *rv[1], *rv[2]);\r
 \r
         // Apply scaling vector\r

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