pmc/include/vector.h
changeset 43 cf8c1b5127b2
parent 42 83b8151b966d
child 45 7197576fedcf
equal deleted inserted replaced
42:83b8151b966d 43:cf8c1b5127b2
    16     virtual ~ Vector ();
    16     virtual ~ Vector ();
    17 
    17 
    18     int X ();
    18     int X ();
    19     int Y ();
    19     int Y ();
    20 
    20 
    21     Vector operator+ (Vector);
    21     Vector operator+ (Vector&);
    22     Vector operator- (Vector);
    22     Vector operator- (Vector&);
    23     double abs ();
    23     double abs ();
    24 
    24 
    25     void vector ();
    25     void vector ();
    26     double angle (Vector);
    26     double angle (Vector&);
    27     void setMode (Mode m = RAD);
    27     void setMode (Mode m = RAD);
    28 
    28 
    29   private:
    29   private:
    30     Mode mode;
    30     Mode mode;
    31     int x;
    31     int x;