mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-03 22:33:08 +02:00
Merge branch 'master' of https://github.com/highfidelity/hifi into record_feature
This commit is contained in:
commit
3cc18d10ae
1 changed files with 1 additions and 1 deletions
|
@ -504,7 +504,7 @@ void OculusManager::getEulerAngles(float& yaw, float& pitch, float& roll) {
|
|||
}
|
||||
|
||||
glm::vec3 OculusManager::getRelativePosition() {
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
#if (defined(__APPLE__) || defined(_WIN32)) && HAVE_LIBOVR
|
||||
ovrTrackingState trackingState = ovrHmd_GetTrackingState(_ovrHmd, ovr_GetTimeInSeconds());
|
||||
ovrVector3f headPosition = trackingState.HeadPose.ThePose.Position;
|
||||
|
||||
|
|
Loading…
Reference in a new issue