Make cursor little bit less sensitive

This commit is contained in:
Petr Bartos 2022-03-23 18:33:39 +01:00
parent 36222228bb
commit 5e9a38307b
1 changed files with 2 additions and 2 deletions

View File

@ -454,8 +454,8 @@ static void IN_VRController( qboolean isRightController, ovrTracking remoteTrack
{
if (vr.menuCursorX && vr.menuCursorY)
{
int x = 320 - tan(vr.weaponangles[YAW] * (M_PI*2 / 360)) * 400;
int y = 240 + tan((vr.weaponangles[PITCH] + vr_weaponPitch->value) * (M_PI*2 / 360)) * 400;
int x = 320 - tan(vr.weaponangles[YAW] * (M_PI*2 / 360)) * 300;
int y = 240 + tan((vr.weaponangles[PITCH] + vr_weaponPitch->value) * (M_PI*2 / 360)) * 300;
*vr.menuCursorX = x;
*vr.menuCursorY = y;
}