15#include "openvr_interfaces_unified.h"
18namespace xrt::state_trackers::openvr {
C interface to math library.
void openvr_hmd_matrix34_identity(vr::HmdMatrix34_t &mat)
Sets an OpenVR HmdMatrix34_t to the identity matrix.
Definition openvr_math.cpp:39
void xrt_matrix_4x4_to_openvr_hmd_matrix34(const xrt_matrix_4x4 &mat, vr::HmdMatrix34_t &openvr_mat)
Converts a 4x4 matrix in column-major format (as used by xrt_matrix_4x4) to an OpenVR HmdMatrix34,...
Definition openvr_math.cpp:28
void xrt_pose_to_openvr_hmd_matrix34(const xrt_pose &pose, vr::HmdMatrix34_t &openvr_mat)
Converts an xrt_pose to an OpenVR HmdMatrix34, which is used for representing poses in OpenVR.
Definition openvr_math.cpp:19
A tightly packed 4x4 matrix of floats.
Definition xrt_defines.h:586
A pose composed of a position and orientation.
Definition xrt_defines.h:492