mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 23:02:01 +00:00
Make cursor little bit less sensitive
This commit is contained in:
parent
36222228bb
commit
5e9a38307b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue