From: Ash Tyndall Date: Fri, 21 Oct 2011 12:40:41 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=2931dc8f8168076f7cceed66414ad44969bf9e4b;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index b4b61c5..0251439 100644 --- a/scene.c +++ b/scene.c @@ -390,15 +390,13 @@ void display() { SceneObject so = sceneObjs[i]; // Apply rotation vector - GLfloat* rv = so.rotation.vector; - glRotatef(so.rotation.amount, rv[0], rv[1], rv[2]); + //glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]); // Apply scaling vector - GLfloat* sv = so.scale; - glScalef(sv[0], sv[1], sv[2]); + glScalef(so.scale[0], so.scale[1], so.scale[2]); // Apply translation vector - glTranslatef(so.x, so.y, so.z); + //glTranslatef(so.x, so.y, so.z); // Apply texture if ( so.texture > 0 ) {