From: Ash Tyndall Date: Fri, 21 Oct 2011 12:42:56 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=43f828e85c0789fe860634ac0944d96f94c5c69c;p=atyndall%2Fcits2231.git --- diff --git a/scene.c b/scene.c index b1c4e88..0251439 100644 --- a/scene.c +++ b/scene.c @@ -393,7 +393,7 @@ void display() { //glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]); // Apply scaling vector - glScalef(1, 1, 1); + glScalef(so.scale[0], so.scale[1], so.scale[2]); // Apply translation vector //glTranslatef(so.x, so.y, so.z);