bjornblissing / osgoculusviewer

An OsgViewer with support for the Oculus Rift
Other
106 stars 67 forks source link

update tracking poses #99

Closed rickyviking closed 5 years ago

rickyviking commented 5 years ago

Hi @bjornblissing please find a first draft of a PR to update tracking state of the touch controllers (m_handPoses member variable was already there but never updated).

Next I'll also need to get the Head Pose, which is part of the ovrTrackingState data structure. I'm wondering whether is best to add another member variable for the head pose, or simply have a ovrTrackingState member variable and adding an accessor to it, similarly to the approach taken for m_controllerState

rickyviking commented 5 years ago

Hi @bjornblissing at the moment I've added another member to expose the head Pose