X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=bd927d9bb5324400254c8bdd581af10cb1a647da;hp=f7dbd40079cd81f71f90d493853304fecd8b1f25;hb=fc880a0c6714b7cf04a869f84419ef52f823cd01;hpb=a020144e3c81b827e06abee630979965c24a707d diff --git a/scene.c b/scene.c index f7dbd40..bd927d9 100644 --- a/scene.c +++ b/scene.c @@ -295,7 +295,7 @@ void display() { if ( width > height ) aspect = (float)width / (float)height; gluPerspective( - 90.0, + 75.0, aspect, 0.1, 200 @@ -410,6 +410,7 @@ int main(int argc, char **argv) { glDepthFunc(GL_LEQUAL); // the type glEnable(GL_CULL_FACE); glEnable(GL_TEXTURE_2D); + glEnable(GL_NORMALIZE); glLineWidth(1.0); glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);