00001 #ifndef GLT_LIGHTM_H
00002 #define GLT_LIGHTM_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00039 #include <glt/config.h>
00040 #include <glt/gl.h>
00041
00042 #include <iosfwd>
00043
00051 class GltLightModel
00052 {
00053 public:
00054
00055 GltLightModel(const bool getIt = false);
00056 ~GltLightModel();
00057
00058 void get();
00059 void set();
00060
00061 void setAmbient (const GLfloat r,const GLfloat g,const GLfloat b,const GLfloat a);
00062 void setLocalViewer(const GLboolean localViewer);
00063 void setTwoSide (const GLboolean twoSide);
00064
00065 GLfloat *ambient();
00066 GLboolean &localViewer();
00067 GLboolean &twoSide();
00068
00069 private:
00070
00071 GLfloat _ambient[4];
00072 GLboolean _localViewer;
00073 GLboolean _twoSide;
00074 };
00075
00076 #endif