mirror of
https://github.com/overte-org/overte.git
synced 2025-06-25 22:49:34 +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() {
|
void OculusBaseDisplayPlugin::resetSensors() {
|
||||||
ovr_RecenterTrackingOrigin(_session);
|
ovr_RecenterTrackingOrigin(_session);
|
||||||
|
|
||||||
|
_currentRenderFrameInfo.renderPose = glm::mat4(); // identity
|
||||||
}
|
}
|
||||||
|
|
||||||
void OculusBaseDisplayPlugin::beginFrameRender(uint32_t frameIndex) {
|
void OculusBaseDisplayPlugin::beginFrameRender(uint32_t frameIndex) {
|
||||||
|
|
Loading…
Reference in a new issue