Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨

1 Reply

  • 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;