cpp/tp2/facette.h

27 lines
583 B
C++

#ifndef FACETTE_H_INCLUDED
#define FACETTE_H_INCLUDED
#include "point.h"
class facette{
private:
point m_pointA;
point m_pointB;
point m_pointC;
point m_pointD;
SHORT m_centreX;
SHORT m_centreY;
double m_rotation;
public:
facette(point& paramA,int taille);
facette(point& paramA,point& paramB,point& paramC,point& paramD);
void afficher(Bmp& imageTemp);
void afficherPlein(Bmp& imageTemp);
void afficherPleinNew(Bmp& imageTemp);
void rotateFacette(double rotation);
};
#endif // FACETTE_H_INCLUDED