Skip to main content

1 reply

LastBlowAuthor
Inspiring
May 26, 2018
Hope it can help someone who is updating their SDK...

The member HmdToEyeOffset has been replaced in "OVR_CAPI_Util.h" by the structure member const ovrPosef HmdToEyePose[2], defined in "OVR_CAPI.h":

    typedef struct OVR_ALIGNAS(4) ovrPosef_ {
       ovrQuatf Orientation;
       ovrVector3f Position;
     } ovrPosef;

Thus,

    m_hmdToEyeOffset[0] = m_eyeRenderDesc[0].HmdToEyeOffset;
    m_hmdToEyeOffset[1] = m_eyeRenderDesc[1].HmdToEyeOffset;

effectively becoming:

    m_hmdToEyeOffset[0] = m_eyeRenderDesc[0].HmdToEyePose.Position;
    m_hmdToEyeOffset[1] = m_eyeRenderDesc[1].HmdToEyePose.Position;