25#ifndef SFML_VECTOR2_HPP
26#define SFML_VECTOR2_HPP
Vector2< T > & operator-=(Vector2< T > &left, const Vector2< T > &right)
Vector2< T > operator-(const Vector2< T > &right)
Vector2< T > operator*(const Vector2< T > &left, T right)
Vector2< T > operator+(const Vector2< T > &left, const Vector2< T > &right)
Vector2< T > operator/(const Vector2< T > &left, T right)
Vector2< T > & operator*=(Vector2< T > &left, T right)
Vector2< T > & operator/=(Vector2< T > &left, T right)
Vector2< T > & operator+=(Vector2< T > &left, const Vector2< T > &right)
Utility template class for manipulating 2-dimensional vectors.
T x
X coordinate of the vector.
Vector2(const Vector2< U > &vector)
Construct the vector from another type of vector.
T y
Y coordinate of the vector.
Vector2()
Default constructor.
Vector2(T X, T Y)
Construct the vector from its coordinates.
Vector2< unsigned int > Vector2u
SFML_NETWORK_API bool operator==(const IpAddress &left, const IpAddress &right)
Overload of == operator to compare two IP addresses.
Vector2< float > Vector2f
SFML_NETWORK_API bool operator!=(const IpAddress &left, const IpAddress &right)
Overload of != operator to compare two IP addresses.