mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 06:53:01 +02:00
OpenVR: remove 180 y rotation for UI bounds.
Turns out the room I was using was misconfigured.
This commit is contained in:
parent
5f1b8805cf
commit
42d27557a1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ void OpenVrDisplayPlugin::activate() {
|
||||||
float xSize, zSize;
|
float xSize, zSize;
|
||||||
chaperone->GetPlayAreaSize(&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, 0.5f * zSize - UI_RADIUS + UI_Z_OFFSET);
|
||||||
_sensorResetMat = glm::inverse(createMatFromQuatAndPos(Quaternions::Y_180, uiPos));
|
_sensorResetMat = glm::inverse(createMatFromQuatAndPos(glm::quat(), uiPos));
|
||||||
} else {
|
} else {
|
||||||
qDebug() << "OpenVR: error could not get chaperone pointer";
|
qDebug() << "OpenVR: error could not get chaperone pointer";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue