ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
00001 00007 #ifndef QTOPENGL_LIGHT_H 00008 #define QTOPENGL_LIGHT_H 00009 00010 namespace argos { 00011 class CQTOpenGLLight; 00012 class CLightEntity; 00013 } 00014 00015 #ifdef __APPLE__ 00016 #include <gl.h> 00017 #else 00018 #include <GL/gl.h> 00019 #endif 00020 00021 namespace argos { 00022 00023 class CQTOpenGLLight { 00024 00025 public: 00026 00027 CQTOpenGLLight(); 00028 00029 virtual ~CQTOpenGLLight(); 00030 00031 virtual void Draw(CLightEntity& c_entity); 00032 00033 private: 00034 00035 GLuint m_unList; 00036 GLuint m_unVertexes; 00037 GLfloat m_fRadius; 00038 00039 }; 00040 00041 } 00042 00043 #endif