mirror of
https://github.com/DrBeef/Doom3Quest.git
synced 2024-11-27 06:13:24 +00:00
Fix HUD I just broke..
This commit is contained in:
parent
9f9f1b1629
commit
7930a94790
1 changed files with 1 additions and 1 deletions
|
@ -3929,7 +3929,7 @@ void idPlayer::UpdateVrHud()
|
|||
GetViewPos( hudOrigin, hudAxis );
|
||||
}
|
||||
hudAxis = idAngles( 10.0f, RAD2DEG(atan2(hud_yaw_y, hud_yaw_x)), 0.0f ).ToMat3();
|
||||
hudOrigin += hudAxis[0] * vr_hudPosVert.GetFloat();
|
||||
hudOrigin += hudAxis[0] * vr_hudPosDist.GetFloat();
|
||||
hudOrigin += hudAxis[1] * vr_hudPosHorz.GetFloat();
|
||||
hudOrigin.z += vr_hudPosVert.GetFloat();
|
||||
|
||||
|
|
Loading…
Reference in a new issue