Searched defs:fov_x (Results 1 - 6 of 6) sorted by relevance

/external/quake/quake/src/QW/client/
H A Drender.h92 float fov_x, fov_y; member in struct:__anon5188
H A Dgl_screen.c233 float CalcFov (float fov_x, float width, float height) argument
238 if (fov_x < 1 || fov_x > 179)
239 Sys_Error ("Bad fov: %f", fov_x);
241 x = width/tan(fov_x/360*M_PI);
335 r_refdef.fov_x = scr_fov.value;
336 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);
H A Dscreen.c249 float CalcFov (float fov_x, float width, float height) argument
254 if (fov_x < 1 || fov_x > 179)
255 Sys_Error ("Bad fov: %f", fov_x);
257 x = width/tan(fov_x/360*M_PI);
299 r_refdef.fov_x = scr_fov.value;
300 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);
/external/quake/quake/src/WinQuake/
H A Drender.h98 float fov_x, fov_y; member in struct:__anon5588
H A Dgl_screen.cpp230 float CalcFov (float fov_x, float width, float height) argument
235 if (fov_x < 1 || fov_x > 179)
236 Sys_Error ("Bad fov: %f", fov_x);
238 x = width/tan(fov_x/360*M_PI);
329 r_refdef.fov_x = scr_fov.value;
330 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);
H A Dscreen.cpp195 float CalcFov (float fov_x, float width, float height) argument
200 if (fov_x < 1 || fov_x > 179)
201 Sys_Error ("Bad fov: %f", fov_x);
203 x = width/tan(fov_x/360*M_PI);
245 r_refdef.fov_x = scr_fov.value;
246 r_refdef.fov_y = CalcFov (r_refdef.fov_x, r_refdef.vrect.width, r_refdef.vrect.height);

Completed in 936 milliseconds