- fixed angular interpolation of skybox viewpoints.

This commit is contained in:
Christoph Oelckers 2016-04-01 11:55:37 +02:00
parent a93296be80
commit a5e14425aa

View file

@ -1240,7 +1240,7 @@ void R_DrawSkyBoxes ()
viewx = FLOAT2FIXED(viewpos.X); viewx = FLOAT2FIXED(viewpos.X);
viewy = FLOAT2FIXED(viewpos.Y); viewy = FLOAT2FIXED(viewpos.Y);
viewz = FLOAT2FIXED(viewpos.Z); viewz = FLOAT2FIXED(viewpos.Z);
viewangle = savedangle + (sky->PrevAngles.Yaw + (sky->Angles.Yaw * r_TicFracF) - sky->PrevAngles.Yaw).BAMs(); viewangle = savedangle + (sky->PrevAngles.Yaw + deltaangle(sky->PrevAngles.Yaw, sky->Angles.Yaw) * r_TicFracF).BAMs();
R_CopyStackedViewParameters(); R_CopyStackedViewParameters();
} }