Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

light.h

Go to the documentation of this file.
00001 // Light Class    by Alan Baylis 2001
00002 
00003 #ifndef LightH
00004 #define LightH
00005 
00006 #include "shared.h"
00007 #include "object.h"
00008 
00009 extern int GL_LIGHT[8];
00010 
00011 class LIGHT : public OBJECT
00012 {
00013 public:
00014     LIGHT();
00015       ~LIGHT();
00016 
00017         void Reset();
00018     void Update();
00019     void Apply();
00020  
00021         int LightNumber;
00022         float Ambient[4];
00023         float Diffuse[4];
00024         float Specular[4];
00025         bool SpotLight;
00026         VECTOR SpotDirection;
00027         float SpotExponent;
00028         float SpotCutoff;
00029         float Constant;
00030         float Linear;
00031         float Quadratic;
00032         float GlobalAmbient[4];
00033         bool Positional;
00034         bool LocalViewer;
00035         bool TwoSided; 
00036 };
00037 
00038 #endif
00039 

Generated on Fri Dec 23 05:20:18 2005 for Portals by doxygen1.2.15