diff --git a/source/gl_rmain.c b/source/gl_rmain.c index 91b254b..1562d41 100644 --- a/source/gl_rmain.c +++ b/source/gl_rmain.c @@ -1157,10 +1157,6 @@ R_SetupGL (void) glViewport (glx + x, gly + y2, w, h); 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); glMatrixMode (GL_MODELVIEW);