mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-21 11:11:16 +00:00
Update gameinput.cpp
This commit is contained in:
parent
7536fbfa85
commit
9a2dbe8c93
1 changed files with 4 additions and 1 deletions
|
@ -206,7 +206,10 @@ void getInput(const double scaleAdjust, PlayerAngles* const plrAngles, InputPack
|
|||
if (!SyncInput())
|
||||
{
|
||||
plrAngles->CameraAngles.Yaw += DAngle::fromDeg(input.avel);
|
||||
plrAngles->CameraAngles.Pitch += DAngle::fromDeg(input.horz);
|
||||
|
||||
//For VR just set the pitch directly
|
||||
plrAngles->CameraAngles.Pitch = DAngle::fromDeg(input.horz);
|
||||
//plrAngles->CameraAngles.Pitch += DAngle::fromDeg(input.horz);
|
||||
}
|
||||
|
||||
if (packet)
|
||||
|
|
Loading…
Reference in a new issue