rendered paste bodyclass face{
public:
char name[LABEL_LEN];
std::list<std::string> labels;
int correct;
};
class polyhedron{
public:
polyhedron();
~polyhedron();
void setColor( float, float, float );
color_s getColor( void );
void setCorrect( char * );
void addVertice( char *, float, float, float );
void addFace( char * );
void addFaceVertice( char * );
void draw( void );
void setGLname( unsigned int );
unsigned int getGLname( void );
void setMotionVector( float, float, float );
point3d getMotionVector( void );
void setPosition( float, float, float );
point3d getPosition( void );
private:
struct color_s color;
char correct[LABEL_LEN];
std::list<point3d> vertices;
std::list<face> faces;
int facesCorrected;
unsigned int glname;
point3d motionVector, position;
void correctOrientation( void );
};