Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef COMPOSANT_HPP_INCLUDED
- #define COMPOSANT_HPP_INCLUDED
- class Point{
- public:
- Point(); //Point constructor
- void SetLocation(int x,int y,int z); //define the point's location at (x ,y ,z)
- int getXp(); //get X location
- int getYp(); //get Y location
- int getZp(); //get Z location
- private:
- int m_Xp;
- int m_Yp;
- int m_Zp;
- };
- class Vecteur{
- public:
- Vecteur(); //Vecteur constructor
- void SetDirection(int x,int y,int z); //set the vector's direction
- void SetDirectionBP(Point point1,Point point2); //set the vector's direction with two point
- int getXv(); //get X location
- int getYv(); //get Y location
- int getZv(); //get Z location
- private:
- int m_Xv;
- int m_Yv;
- int m_Zv;
- };
- class Face{
- public:
- Face(); //Face constructor
- ~Face(); //Face destructor
- void SetComp(Vecteur vec1,Vecteur vec2); //set the face with 2 vector
- private:
- Vecteur* vecteur1;
- Vecteur* vecteur2;
- };
- class Camera{
- public:
- Camera();
- void SetLocation(int x, int y, int z);
- void SetDirection(int x, int y, int z);
- void MoveTranslation(Vecteur vec);
- void MoveRotation(int angleX);
- private:
- int m_Xc;
- int m_Yc;
- int m_Zc;
- Vecteur* direction;
- };
- #endif // COMPOSANT_HPP_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement