+// A type to maintain the state of a light in the scene
+typedef struct {
+ GLfloat position[4]; // Light position
+ GLfloat ambient[4]; // Ambient parameter
+ GLfloat diffuse[4]; // Diffuse parameter
+ GLfloat specular[4]; // Specular parameter
+ GLfloat direction[3]; // Direction parameter
+ GLfloat cutoff; // Cutoff of light
+ char exponent; // Light exponent value, 0 - 128
+} LightObject;
+