X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=cf969764d25b892d4d766b92d800c07819d656be;hp=d351afaf6e46642280b1830f3b0e92eee9e3b025;hb=bf419bc7b47235edddd11094230ed0f02cf5d8c7;hpb=3252ebe3045e51d4cf9ee40f24e7204e230492d6 diff --git a/scene.c b/scene.c index d351afa..cf96976 100644 --- a/scene.c +++ b/scene.c @@ -390,16 +390,13 @@ void display() { SceneObject so = sceneObjs[i]; // Apply rotation vector - //GLfloat* rv = &so.rotation.vector; - printf("%f, %f, %f\n", 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]); + //glRotatef(so.rotation.amount, so.rotation.vector[0], so.rotation.vector[1], so.rotation.vector[2]); // Apply scaling vector - //GLfloat* sv = &so.scale; - glScalef(so.scale[0], so.scale[1], so.scale[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 ) {