mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 08:14:48 +02:00
OpenVR: adjusted translation of UI sphere overlay
This commit is contained in:
parent
42d27557a1
commit
153f7fc3aa
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ void OpenVrDisplayPlugin::activate() {
|
|||
|
||||
float xSize, zSize;
|
||||
chaperone->GetPlayAreaSize(&xSize, &zSize);
|
||||
glm::vec3 uiPos(0.0f, UI_HEIGHT, 0.5f * zSize - UI_RADIUS + UI_Z_OFFSET);
|
||||
glm::vec3 uiPos(0.0f, UI_HEIGHT, UI_RADIUS - (0.5f * zSize) - UI_Z_OFFSET);
|
||||
_sensorResetMat = glm::inverse(createMatFromQuatAndPos(glm::quat(), uiPos));
|
||||
} else {
|
||||
qDebug() << "OpenVR: error could not get chaperone pointer";
|
||||
|
|
Loading…
Reference in a new issue