# hgeVector Operators The following operators are defined for hgeVector class:
    hgeVector   operator-  (const hgeVector &v);
    hgeVector   operator+  (const hgeVector &v);
    hgeVector   operator*  (float scalar);
    hgeVector   operator-  ();

    hgeVector&  operator=  (const hgeVector &v);
    hgeVector&  operator-= (const hgeVector &v);
    hgeVector&  operator+= (const hgeVector &v);
    hgeVector&  operator*= (float scalar);

    bool        operator== (const hgeVector &v);
    bool        operator!= (const hgeVector &v);

    float       operator^  (const hgeVector &v, const hgeVector &u);
    float       operator%  (const hgeVector &v, const hgeVector &u);
So, you can use hgeVector objects in expressions like vector1 = -vector2; vector1 = vector2 + vector3 * 0.5f; if(vector1 != vector2) vector1 += vector3; angle = vector1 ^ vector2; dot_product = vector1 % vector2; ## Requirements Header: hgevector.h