Sphere.h

gehe zur Dokumentation dieser Datei
00001 #ifndef SPHERE_H_
00002 #define SPHERE_H_
00003 #include <cstdlib>
00004 #include <GL/glut.h>
00005 #include "Object.h"
00006 #define sphere new Sphere
00007 
00011 class Sphere : public Object {
00012 private:
00016         GLUquadricObj *sph;
00017 
00021         double radius;
00022 
00026         int detail;
00027 
00028 public:
00032         Sphere(double radius, int detail, Material* mat = 0);
00033 
00037         void draw();
00038 
00042         virtual ~Sphere();
00043 };
00044 
00045 #endif /*SPHERE_H_*/

Erzeugt am Sun Jun 10 13:47:51 2007 für Fishtank von  doxygen 1.5.2