]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
Changed 360. to 360.0
authortomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Aug 2004 11:12:04 +0000 (11:12 +0000)
committertomaz <tomaz@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 22 Aug 2004 11:12:04 +0000 (11:12 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4355 d7cf8633-e32d-0410-b094-e92efae38249

gl_backend.c

index 2be923d17600b2d3bb3f4e7315d24dc29fdca147..90562380b4f2c048e327dd9d9c547f0a0bd71c0e 100644 (file)
@@ -1257,7 +1257,7 @@ CalcFov
 float CalcFov (float fov_x, float width, float height)
 {
        // calculate vision size and alter by aspect, then convert back to angle
-       return atan (((height/width)/vid_pixelaspect.value)*tan(fov_x/360.*M_PI))*360./M_PI; 
+       return atan (((height/width)/vid_pixelaspect.value)*tan(fov_x/360.0*M_PI))*360.0/M_PI; 
 }
 
 int r_stereo_side;