mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 07:27:04 +02:00
remeasure sensor after recentering
This commit is contained in:
parent
b7f501c0b3
commit
28e349f421
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ glm::mat4 OculusBaseDisplayPlugin::getProjection(Eye eye, const glm::mat4& baseP
|
||||||
void OculusBaseDisplayPlugin::resetSensors() {
|
void OculusBaseDisplayPlugin::resetSensors() {
|
||||||
#if (OVR_MAJOR_VERSION >= 6)
|
#if (OVR_MAJOR_VERSION >= 6)
|
||||||
ovr_RecenterPose(_hmd);
|
ovr_RecenterPose(_hmd);
|
||||||
|
preRender();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue