2#include "openxr/openxr.h"
28 fltp08 val = qx * qy + qz * qw;
34 else if (val <= -.49999)
The primary angle storage class for this API. Stores an angle in an optimized format.
Definition StringStream.h:540
static Angle asin(t_value_type value)
Computes the principal value of the arc sine of the given value.
Definition Angle.h:305
static Angle atan2(t_value_type x, t_value_type y)
measures the counterclockwise angle between the positive x-axis and the point (x, y)
Definition Angle.h:328
A fixed-size array with better performance compared to dynamic containers.
Definition Vector.hpp:60
A vertex or point. A specific type of Vector used primarily for spacial location information.
Definition Vertex.hpp:48
Common helper functions for easier interfacing with the OpenXR engine.
Definition XRFunctions.h:11
static Vector< 3, Angle< fltp08 > > ConvertFromQuaternion(const XrQuaternionf &quaternion)
Definition XRFunctions.h:21
static Vertex< 3, fltp04 > ConvertVertex(const XrVector3f &position)
Definition XRFunctions.h:13
static Vector< 3, Angle< fltp08 > > ConvertFromQuaternion(fltp08 qx, fltp08 qy, fltp08 qz, fltp08 qw)
Definition XRFunctions.h:25
static Vertex< 3, fltp08 > ConvertVertex(fltp08 x, fltp08 y, fltp08 z)
Definition XRFunctions.h:17
@ ROLL
Definition Angle.h:45
@ YAW
Definition Angle.h:47
@ PITCH
Definition Angle.h:46
@ DEGREES
Definition Angle.h:58
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:149