/external/quake/quake/src/QW/client/ |
gl_rmain.c | 65 refdef_t r_refdef; variable 838 if (r_refdef.fov_x == 90) 852 RotatePointAroundVector( frustum[0].normal, vup, vpn, -(90-r_refdef.fov_x / 2 ) ); 854 RotatePointAroundVector( frustum[1].normal, vup, vpn, 90-r_refdef.fov_x / 2 ); 856 RotatePointAroundVector( frustum[2].normal, vright, vpn, 90-r_refdef.fov_y / 2 ); 858 RotatePointAroundVector( frustum[3].normal, vright, vpn, -( 90 - r_refdef.fov_y / 2 ) ); 889 VectorCopy (r_refdef.vieworg, r_origin); 891 AngleVectors (r_refdef.viewangles, vpn, vright, vup); 956 x = r_refdef.vrect.x * glwidth/vid.width; 957 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width [all...] |
r_main.c | 71 refdef_t r_refdef; variable 232 r_refdef.xOrigin = XCENTERING; 233 r_refdef.yOrigin = YCENTERING; 374 Called every time the vid structure or r_refdef changes. 385 R_SetVrect (pvrect, &r_refdef.vrect, lineadj); 387 r_refdef.horizontalFieldOfView = 2.0 * tan (r_refdef.fov_x/360*M_PI); 388 r_refdef.fvrectx = (float)r_refdef.vrect.x; 389 r_refdef.fvrectx_adj = (float)r_refdef.vrect.x - 0.5 [all...] |
/external/quake/quake/src/WinQuake/ |
r_main.cpp | 69 refdef_t r_refdef;
variable 227 r_refdef.xOrigin = XCENTERING;
228 r_refdef.yOrigin = YCENTERING;
354 Called every time the vid structure or r_refdef changes.
365 R_SetVrect (pvrect, &r_refdef.vrect, lineadj);
367 r_refdef.horizontalFieldOfView = 2.0 * tan (r_refdef.fov_x/360*M_PI);
368 r_refdef.fvrectx = (float)r_refdef.vrect.x;
369 r_refdef.fvrectx_adj = (float)r_refdef.vrect.x - 0.5; [all...] |
gl_rmain.cpp | 65 refdef_t r_refdef; variable 936 if (r_refdef.fov_x == 90) 949 RotatePointAroundVector( frustum[0].normal, vup, vpn, -(90-r_refdef.fov_x / 2 ) ); 951 RotatePointAroundVector( frustum[1].normal, vup, vpn, 90-r_refdef.fov_x / 2 ); 953 RotatePointAroundVector( frustum[2].normal, vright, vpn, 90-r_refdef.fov_y / 2 ); 955 RotatePointAroundVector( frustum[3].normal, vright, vpn, -( 90 - r_refdef.fov_y / 2 ) ); 988 VectorCopy (r_refdef.vieworg, r_origin); 990 AngleVectors (r_refdef.viewangles, vpn, vright, vup); 1178 x = r_refdef.vrect.x * glwidth/vid.width; 1179 x2 = (r_refdef.vrect.x + r_refdef.vrect.width) * glwidth/vid.width [all...] |