Monado OpenXR Runtime
|
Public Member Functions | |
Vector3 (const Vector3 &in) | |
Vector3 (float _x, float _y, float _z) | |
Vector3 (float _x, float _y) | |
constexpr Vector3 & | operator= (const Vector3 &lhr) |
Vector3 | operator- (Vector3 &rhs) |
Vector3 | operator- () |
Vector3 | operator+ (const Vector3 &rhs) |
Vector3 & | operator+= (const Vector3 &v) |
Vector3 | operator/ (const float &d) |
Vector3 | operator* (const float &d) |
Vector3 | Inverse () |
float | Dot (Vector3 rhs) |
float | sqrMagnitude () |
float | Magnitude () |
void | Normalize () |
Vector3 | Normalized () |
void | rotate (Vector3 axis, float radians) |
Vector3 | Cross (const Vector3 in) |
Static Public Member Functions | |
static Vector3 | Up () |
static Vector3 | Down () |
static Vector3 | Left () |
static Vector3 | Right () |
static Vector3 | Forward () |
static Vector3 | Backward () |
static float | Dot (Vector3 lhs, Vector3 rhs) |
static float | Angle (Vector3 v0, Vector3 v1) |
static Vector3 | Zero () |
static Vector3 | One () |
static Vector3 | Reflect (Vector3 inDirection, Vector3 inNormal) |
Data Fields | |
float | x |
float | y |
float | z |