mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- Invert rollang
in hw_entrypoint.cpp:SetupView().
This commit is contained in:
parent
93bb774573
commit
895b875453
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ FRenderViewpoint SetupView(vec3_t& position, int sectnum, fixed_t q16angle, fixe
|
|||
r_viewpoint.Pos = { position.x / 16.f, position.y / -16.f, position.z / -256.f };
|
||||
r_viewpoint.HWAngles.Yaw = -90.f + q16ang(q16angle).asdeg();
|
||||
r_viewpoint.HWAngles.Pitch = -HorizToPitch(q16horizon);
|
||||
r_viewpoint.HWAngles.Roll = rollang;
|
||||
r_viewpoint.HWAngles.Roll = -rollang;
|
||||
r_viewpoint.FieldOfView = (float)r_fov;
|
||||
r_viewpoint.RotAngle = q16ang(q16angle).asbam();
|
||||
return r_viewpoint;
|
||||
|
|
Loading…
Reference in a new issue