#include <Vector2.hpp>
Public Member Functions | |
| Vector2 () | |
| Default constructor. | |
| Vector2 (T X, T Y) | |
| Construct the vector from its coordinates. | |
Public Attributes | |
| T | x |
| X coordinate of the vector. | |
| T | y |
| Y coordinate of the vector. | |
Template parameter defines the type of coordinates (integer, float, ...)
Definition at line 37 of file Vector2.hpp.
| sf::Vector2< T >::Vector2 | ( | ) |
Default constructor.
| sf::Vector2< T >::Vector2 | ( | T | X, | |
| T | Y | |||
| ) |
Construct the vector from its coordinates.
| X | : X coordinate | |
| Y | : Y coordinate |
| T sf::Vector2< T >::x |
| T sf::Vector2< T >::y |