mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:47:30 +02:00
Fix for sensor reset on oculus.
This commit is contained in:
parent
9a428947e4
commit
097b16aadc
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,8 @@
|
|||
|
||||
void OculusBaseDisplayPlugin::resetSensors() {
|
||||
ovr_RecenterTrackingOrigin(_session);
|
||||
|
||||
_currentRenderFrameInfo.renderPose = glm::mat4(); // identity
|
||||
}
|
||||
|
||||
void OculusBaseDisplayPlugin::beginFrameRender(uint32_t frameIndex) {
|
||||
|
|
Loading…
Reference in a new issue