X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=0251439ca2796b485987d7a6ecc6a3f7552e6151;hb=43f828e85c0789fe860634ac0944d96f94c5c69c;hp=b1c4e88a25bb1008eb4b5573851b730f2f53fa23;hpb=51d8df428ef9188ec1b00656a3e691da8cd0bbe5;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);