00001 #include "polygon.h"
00002
00007 #if 0
00008
00009 using namespace std;
00010
00012
00013 GltPolygon::GltPolygon()
00014 {
00015 }
00016
00017 GltPolygon::~GltPolygon()
00018 {
00019 }
00020
00021 void
00022 GltPolygon::draw() const
00023 {
00024 glPushMatrix();
00025 transformation().glMultMatrix();
00026
00027
00028
00029
00030
00031 glPopMatrix();
00032 }
00033
00034 bool
00035 GltPolygon::boundingBox(Vector &min,Vector &max) const
00036 {
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066 return false;
00067 }
00068
00069 string GltPolygon::description() const
00070 {
00071 char buffer[1024];
00072 sprintf(buffer,"Convex polygon.");
00073 return buffer;
00074 }
00075
00076 #endif