mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 23:27:13 +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;
|
||||
chaperone->GetPlayAreaSize(&xSize, &zSize);
|
||||
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 {
|
||||
qDebug() << "OpenVR: error could not get chaperone pointer";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue