pmc/include/cube.h
changeset 45 7197576fedcf
parent 43 cf8c1b5127b2
child 54 c064ce9f40f5
equal deleted inserted replaced
44:bb6586b1c547 45:7197576fedcf
    10 #include <vector.h>
    10 #include <vector.h>
    11 #include <rectangle.h>
    11 #include <rectangle.h>
    12 
    12 
    13 class Cube:public Drawable {
    13 class Cube:public Drawable {
    14   private:
    14   private:
    15     Vector * P[8];
    15     algebra::Vector * P[8];
    16     int height;
    16     int height;
    17 
    17 
    18   public:
    18   public:
    19     Cube (Surface *, Vector&, Vector&, Vector&, Vector&, int);
    19     Cube (Surface *, algebra::Vector &, algebra::Vector &, algebra::Vector &, algebra::Vector &, int);
       
    20     Cube (Surface *, algebra::Vector[4], int);
    20     Cube (Surface *);
    21     Cube (Surface *);
    21 
    22 
    22     virtual ~ Cube ();
    23     virtual ~ Cube ();
    23     void show ();
    24     void show ();
    24     void move (Vector);
    25     void move (algebra::Vector);
    25 };
    26 };
    26 #endif
    27 #endif