Does that get past the msvc2008 bug yet?

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3140 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-03-07 05:22:17 +00:00
parent 76f6ad0345
commit eb6d283806

View file

@ -905,7 +905,8 @@ float CalcFov (float fov_x, float width, float height)
Sys_Error ("Bad fov: %f", fov_x); Sys_Error ("Bad fov: %f", fov_x);
x = fov_x/360*M_PI; x = fov_x/360*M_PI;
x = width/tan(x); x = tan(x);
x = width/x;
a = atan (height/x); a = atan (height/x);