Monado OpenXR Runtime
Vector2 Class Reference
Collaboration diagram for Vector2:

Public Member Functions

 Vector2 (const Vector2 &in)
 
 Vector2 (float _x, float _y)
 
constexpr Vector2operator= (const Vector2 &lhr)
 
Vector2 operator/ (float d) const
 
Vector2 operator* (float d) const
 
Vector2 operator- (const Vector2 &rhs) const
 
Vector2 operator+ (const Vector2 &rhs) const
 

Static Public Member Functions

static Vector2 zero ()
 
static Vector2 One ()
 

Data Fields

float x
 
float y
 

The documentation for this class was generated from the following file: