Structure representing a two-dimensional vector.
More...
#include <Vector2.hpp>
|
T | x |
| The horizontal component of the vector.
|
|
T | y |
| The vertical component of the vector.
|
|
template<typename T>
struct rl::Vector2< T >
Structure representing a two-dimensional vector.
- Template Parameters
-
T | The type of the vector components |
◆ Vector2()
Creates a 2D vector.
- Parameters
-
X | The horizontal component of the vector |
Y | The vertical component of the vector |
The documentation for this struct was generated from the following file: