X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.h;h=4c7854af55674e11e02191adc7b936e6f9ca2fc9;hp=d856c573cd586aa3791b1adbc5a1a2f41981c237;hb=9630fcbe763ed8c935c60a44c0d8ace778383109;hpb=bf3cf131a6c4b18ca07a2a85156c063ff3bdcd04 diff --git a/globals.h b/globals.h index d856c57..4c7854a 100644 --- a/globals.h +++ b/globals.h @@ -39,7 +39,7 @@ extern GLfloat lightPosition[]; extern int moving, startx, starty; extern int lightMoving, lightStartX, lightStartY; - +/* Time varying or user-controled variables. */ extern float jump; extern float lightAngle, lightHeight; extern GLfloat angle; @@ -63,15 +63,30 @@ extern int drawFloorRecurse; extern int floorSize; /* Current camera position */ -extern GLfloat camx, camy, camz; +extern GLfloat camx, camy, camz, rot; + +/* Length of axis lines */ +extern GLfloat lineLength; /* Light 0 parameters */ extern GLfloat diffuse0[]; extern GLfloat ambient0[]; extern GLfloat specular0[]; extern GLfloat emission0[]; + +extern GLfloat direction0[]; extern GLfloat light0_pos[]; + +extern GLfloat shine; + extern GLfloat glightmodel[]; -#endif /* GLOBALS_H */ +/* Material types */ +extern GLfloat ambient[]; +extern GLfloat diffuse[]; +extern GLfloat specular[]; + +/* Beginning width, height */ +extern int width, height; +#endif /* GLOBALS_H */ \ No newline at end of file