Missed a line in RenderOrthoNoFog

Tying up the fov fix.
This commit is contained in:
dileepvr 2024-10-16 07:46:32 -06:00 committed by Rachael Alexanderson
parent c38b119435
commit 6e7148b074

View file

@ -990,7 +990,7 @@ void HWDrawInfo::RenderOrthoNoFog()
double vxdbl = Viewpoint.camera->X();
double vydbl = Viewpoint.camera->Y();
double ext = Viewpoint.camera->ViewPos->Offset.Length() ?
3.0 * Viewpoint.camera->ViewPos->Offset.Length() : 100.0;
3.0 * Viewpoint.camera->ViewPos->Offset.Length() * tan (Viewpoint.FieldOfView.Radians()*0.5) : 100.0;
FBoundingBox viewbox(vxdbl, vydbl, ext);
for (unsigned int kk = 0; kk < Level->subsectors.Size(); kk++)