(no commit message)
authorAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 12:40:41 +0000 (20:40 +0800)
committerAsh Tyndall <git@atyndall.net>
Fri, 21 Oct 2011 12:40:41 +0000 (20:40 +0800)
scene.c

diff --git a/scene.c b/scene.c
index b4b61c5..0251439 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -390,15 +390,13 @@ void display() {
         SceneObject so = sceneObjs[i];\r
 \r
         // Apply rotation vector\r
-        GLfloat* rv = so.rotation.vector;\r
-        glRotatef(so.rotation.amount, rv[0], rv[1], rv[2]);\r
+        //glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]);\r
 \r
         // Apply scaling vector\r
-        GLfloat* sv = so.scale;\r
-        glScalef(sv[0], sv[1], sv[2]);\r
+        glScalef(so.scale[0], so.scale[1], so.scale[2]);\r
 \r
         // Apply translation vector\r
-        glTranslatef(so.x, so.y, so.z);\r
+        //glTranslatef(so.x, so.y, so.z);\r
 \r
         // Apply texture\r
         if ( so.texture > 0 ) {\r

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