Dualie
|
Used to contain a set of two numbers. More...
#include <Vector2.hpp>
Public Member Functions | |
Vector2 (T x, T y) | |
dl::Vector2< T > | operator+ (dl::Vector2< T > vector) const |
dl::Vector2< T > | operator- (dl::Vector2< T > vector) const |
dl::Vector2< T > | operator* (dl::Vector2< T > vector) const |
dl::Vector2< T > | operator/ (dl::Vector2< T > vector) const |
bool | operator== (dl::Vector2< T > vector) const |
bool | operator!= (dl::Vector2< T > vector) const |
std::string | toString () const |
Converts the vector to a floored string for printing purposes. | |
Public Attributes | |
T | x |
T | y |
Used to contain a set of two numbers.
T | The type of number contained |
|
inline |
Converts the vector to a floored string for printing purposes.