|
Raylib C++
1.0.0
Encapsulates the raylib library
|
Struct containing a vector with 2 dimensions. More...
#include <Vector.hpp>


Public Member Functions | |
| Vector2 ()=default | |
| Default constructor. More... | |
| Vector2 (T x, T y) | |
| Create a Vector2. More... | |
| bool | operator== (const Vector2< T > &other) const |
| Compare the x & y values of two vectors. More... | |
| bool | operator!= (const Vector2< T > &other) const |
| Compare the x & y values of two vectors. More... | |
Public Attributes | |
| T | x |
| T | y |
Struct containing a vector with 2 dimensions.
| T | the type of the vector |
|
default |
Default constructor.
|
inline |
Create a Vector2.
| x | the x value |
| y | the y value |
|
inline |
Compare the x & y values of two vectors.
| other | the other vector to compare |
|
inline |
Compare the x & y values of two vectors.
| other | the other vector to compare |
| T raylib::Vector2< T >::x |
| T raylib::Vector2< T >::y |
1.8.17