- make FieldOfView a real angle and remove all uses of finetangent.
This commit is contained in:
parent
f301cf7c57
commit
027b8d29b8
8 changed files with 19 additions and 62 deletions
|
|
@ -115,8 +115,8 @@ void R_InitSkyMap ()
|
|||
skyiscale = float(r_Yaspect / freelookviewheight);
|
||||
skyscale = freelookviewheight / r_Yaspect;
|
||||
|
||||
skyiscale *= FieldOfView / 2048.f;
|
||||
skyscale *= 2048.0 / FieldOfView;
|
||||
skyiscale *= float(FieldOfView.Degrees / 90.);
|
||||
skyscale *= float(90. / FieldOfView.Degrees);
|
||||
}
|
||||
|
||||
if (skystretch)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue