From 895b875453f9086c28fdf4aec0107bb9e65d5af5 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 20 Mar 2021 08:35:17 +1100 Subject: [PATCH] - Invert `rollang` in hw_entrypoint.cpp:SetupView(). --- source/core/rendering/hw_entrypoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/rendering/hw_entrypoint.cpp b/source/core/rendering/hw_entrypoint.cpp index da7a7a3bc..3de35aa53 100644 --- a/source/core/rendering/hw_entrypoint.cpp +++ b/source/core/rendering/hw_entrypoint.cpp @@ -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;