mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed angular interpolation of skybox viewpoints.
This commit is contained in:
parent
a93296be80
commit
a5e14425aa
1 changed files with 1 additions and 1 deletions
|
@ -1240,7 +1240,7 @@ void R_DrawSkyBoxes ()
|
|||
viewx = FLOAT2FIXED(viewpos.X);
|
||||
viewy = FLOAT2FIXED(viewpos.Y);
|
||||
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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue