Kill some commented out dead code.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-02-04 22:34:54 +00:00
parent 292807d653
commit 59f4b7a7d0

View file

@ -1157,10 +1157,6 @@ R_SetupGL (void)
glViewport (glx + x, gly + y2, w, h); glViewport (glx + x, gly + y2, w, h);
screenaspect = (float) r_refdef.vrect.width / r_refdef.vrect.height; screenaspect = (float) r_refdef.vrect.width / r_refdef.vrect.height;
// yfov = 2*atan((float)r_refdef.vrect.height/r_refdef.vrect.width)*180/M_PI;
// yfov = (2.0 * tan (scr_fov->value/360*M_PI)) / screenaspect;
// yfov = 2*atan((float)r_refdef.vrect.height/r_refdef.vrect.width)*(scr_fov->value*2)/M_PI;
// MYgluPerspective (yfov, screenaspect, 4, 4096);
MYgluPerspective (r_refdef.fov_y, screenaspect, 4, 4096); MYgluPerspective (r_refdef.fov_y, screenaspect, 4, 4096);
glMatrixMode (GL_MODELVIEW); glMatrixMode (GL_MODELVIEW);