00001 #ifndef Pv_Light_Included 00002 #define Pv_Light_Included 00003 00004 #include <GL/gl.h> 00005 00006 class Pv_Light{ 00007 /*light position and direction*/ 00008 GLfloat light_pos[4]; 00009 GLfloat light_direction[4]; 00010 00011 /*light id*/ 00012 GLenum the_light; 00013 00014 public: 00015 00016 Pv_Light(GLenum); 00017 void display(); 00018 void draw(); 00019 }; 00020 00021 00022 #endif
1.2.18