25 #ifndef SFML_VECTOR2_HPP 26 #define SFML_VECTOR2_HPP 104 template <
typename T>
120 template <
typename T>
133 template <
typename T>
146 template <
typename T>
159 template <
typename T>
172 template <
typename T>
188 template <
typename T>
201 template <
typename T>
217 template <
typename T>
232 template <
typename T>
247 template <
typename T>
250 #include <SFML/System/Vector2.inl> 260 #endif // SFML_VECTOR2_HPP Vector2< T > operator*(const Vector2< T > &left, T right)
Overload of binary operator *.
Vector2< T > operator+(const Vector2< T > &left, const Vector2< T > &right)
Overload of binary operator +.
T y
Y coordinate of the vector.
bool operator!=(const Vector2< T > &left, const Vector2< T > &right)
Overload of binary operator !=.
Vector2< T > & operator*=(Vector2< T > &left, T right)
Overload of binary operator *=.
bool operator==(const Vector2< T > &left, const Vector2< T > &right)
Overload of binary operator ==.
Vector2< T > operator/(const Vector2< T > &left, T right)
Overload of binary operator /.
Vector2< T > operator-(const Vector2< T > &right)
Overload of unary operator -.
Vector2< T > & operator+=(Vector2< T > &left, const Vector2< T > &right)
Overload of binary operator +=.
Vector2< T > & operator/=(Vector2< T > &left, T right)
Overload of binary operator /=.
Vector2()
Default constructor.
T x
X coordinate of the vector.
Vector2< T > & operator-=(Vector2< T > &left, const Vector2< T > &right)
Overload of binary operator -=.
Utility template class for manipulating 2-dimensional vectors.