mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 04:34:38 +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() {
|
||||
#if (OVR_MAJOR_VERSION >= 6)
|
||||
ovr_RecenterPose(_hmd);
|
||||
preRender();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue