From: Ash Tyndall Date: Fri, 21 Oct 2011 12:43:16 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=47f587200c6be35f945d40d837a50d3c415c8588;hp=43f828e85c0789fe860634ac0944d96f94c5c69c --- diff --git a/scene.c b/scene.c index 0251439..77d2c10 100644 --- a/scene.c +++ b/scene.c @@ -390,13 +390,13 @@ void display() { SceneObject so = sceneObjs[i]; // Apply rotation vector - //glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]); + glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]); // Apply scaling vector 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 ) {