mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-09 07:33:19 +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