X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.c;h=053d1ee9d2551014fb1886552eb16e563fabf64a;hp=a567458f10f0110b30b6c1ad2c3b62dcaf2a0d9e;hb=2e98919f0cc2e2334faa5daabfd0e456f96cea55;hpb=5eb90acec725198d090e065c1bdc7d41dd4ce02b diff --git a/globals.c b/globals.c index a567458..053d1ee 100644 --- a/globals.c +++ b/globals.c @@ -74,7 +74,7 @@ GLfloat camx = 0.0, camy = 0.0, camz = 0.0, keyrot = 0.0; GLfloat factor = 1.0; /* Length of axis lines */ -GLfloat lineLength = 5; +GLfloat lineLength = 10; /* Light 0 parameters */ GLfloat diffuse0[]={1.0, 0.0, 0.0, 1.0}; @@ -95,7 +95,7 @@ GLfloat specular[] = {1.0, 1.0, 1.0, 1.0}; /* Zoom and rotate tracking */ GLfloat zoom = 0.0, rotate = 0.0; -GLfloat zoomFactor = 0.5, rotateFactor = 0.5; +GLfloat zoomFactor = 0.2, rotateFactor = 1.0; /* Beginning width, height */ int width = 500, height = 500; \ No newline at end of file