OpenXR - Fix axis mirroing for Tales of the World

This commit is contained in:
Lubos 2023-01-21 17:46:02 +01:00
parent ac5139ba6c
commit 76c7dac9c1

View File

@ -779,11 +779,15 @@ void UpdateVRParams(float* projMatrix, float* viewMatrix) {
switch (variant) {
case 0: //e.g. ATV
case 1: //untested
vrMirroring[VR_MIRRORING_PITCH] = false;
vrMirroring[VR_MIRRORING_YAW] = true;
vrMirroring[VR_MIRRORING_ROLL] = true;
break;
case 1: //e.g. Tales of the World
vrMirroring[VR_MIRRORING_PITCH] = false;
vrMirroring[VR_MIRRORING_YAW] = false;
vrMirroring[VR_MIRRORING_ROLL] = false;
break;
case 2: //e.g.PES 2014
case 3: //untested
case 5: //e.g Dante's Inferno