X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=globals.h;h=4c7854af55674e11e02191adc7b936e6f9ca2fc9;hp=728bf6a3f4744cdefed7cc4eae27b5d619c0c6b3;hb=2813933dbf92ed25a4b00c514ad20c1893145538;hpb=bb84977df53fb16ba10eecb52b219071ff786126 diff --git a/globals.h b/globals.h index 728bf6a..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; @@ -65,13 +65,28 @@ extern int floorSize; /* Current camera position */ 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