X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.c;h=c163e83835ae00b51faf791a5d90844c586ca078;hp=8a8d488e849154c996b8b70af1d586b08bf37b9f;hb=9ab89f3663c93655bfada98553a21458f997f5f9;hpb=41e9776f7eb522acab751a6126e6ac3924e55214 diff --git a/globals.c b/globals.c index 8a8d488..c163e83 100644 --- a/globals.c +++ b/globals.c @@ -50,8 +50,8 @@ GLfloat defaultDiffuse[] = {0.0, 1.0, 0.0, 1.0}; GLfloat defaultSpecular[] = {1.0, 0.0, 0.0, 1.0}; GLfloat defaultDirection[] = {0.0, 0.0, 0.0}; -GLfloat defaultCutoff = 1; -GLfloat defaultExponent = 0; +GLfloat defaultCutoff = 0; +GLfloat defaultExponent = 1; /* Material types */ GLfloat materialAmbient[] = {0.2, 0.2, 0.2, 1.0}; @@ -89,7 +89,7 @@ GLfloat zoomFactor = 0.2, camRotateFactor = 0.5, camAngleFactor = 0.5; GLfloat leftrightFactor = 0.05, nearfarFactor = 0.1, bigsmallFactor = 0.6, updownFactor = 0.03, rotateFactor = 0.8, texscaleFactor = 0.2; /* Beginning width, height */ -int width = 750, height = 750; +int width = 700, height = 700; /* Texture state tracking */ int currentGroundTexture = 0, currentMeshTexture = 0; \ No newline at end of file