Files Classes Functions Hierarchy
00001 #ifndef CUBEDRAW_H 00002 #define CUBEDRAW_H 00003 00004 #include <GL/glut.h> 00005 00006 #include <cube.h> 00007 #include <gobj.h> 00008 00012 class cubedraw : public gobj 00013 { 00014 public: 00015 00017 cube const & cb; 00018 00020 cubedraw(cube const & cb_); 00021 00023 void colorset(cube::colordef const c) const; 00024 00025 void colorset(uintc index) const 00026 { colorset(cb.xi[index]); } 00027 00028 void draw() {} 00029 }; 00030 00031 #endif 00032
1.5.8