X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=scene.c;h=77d2c108dc75dbdf1e1e7ea3ea58fcb96ef2f087;hb=47f587200c6be35f945d40d837a50d3c415c8588;hp=d351afaf6e46642280b1830f3b0e92eee9e3b025;hpb=3252ebe3045e51d4cf9ee40f24e7204e230492d6;p=atyndall%2Fcits2231.git diff --git a/scene.c b/scene.c index d351afa..77d2c10 100644 --- a/scene.c +++ b/scene.c @@ -390,12 +390,9 @@ 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]); // Apply scaling vector - //GLfloat* sv = &so.scale; glScalef(so.scale[0], so.scale[1], so.scale[2]); // Apply translation vector