Home
last modified time | relevance | path

Searched refs:zProj (Results 1 – 24 of 24) sorted by relevance

/dports/games/ioquake3-server/ioquake3-1.36/code/renderer/
H A Dtr_main.c464 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
466 adjleg = zProj / length; in R_SetupFrustum()
481 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
486 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
491 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
493 adjleg = zProj / length; in R_SetupFrustum()
526 stereoSep = zProj / r_stereoSeparation->value; in R_SetupProjection()
533 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
536 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
542 dest->projectionMatrix[0] = 2 * zProj / width; in R_SetupProjection()
[all …]
H A Dtr_local.h1150 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/ioquake3/ioquake3-1.36/code/renderer/
H A Dtr_main.c464 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
466 adjleg = zProj / length; in R_SetupFrustum()
481 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
486 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
491 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
493 adjleg = zProj / length; in R_SetupFrustum()
526 stereoSep = zProj / r_stereoSeparation->value; in R_SetupProjection()
533 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
536 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
542 dest->projectionMatrix[0] = 2 * zProj / width; in R_SetupProjection()
[all …]
H A Dtr_local.h1150 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/openarena-server/openarena-engine-source-0.8.8/code/renderer/
H A Dtr_main.c464 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
466 adjleg = zProj / length; in R_SetupFrustum()
481 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
486 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
491 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
493 adjleg = zProj / length; in R_SetupFrustum()
526 stereoSep = zProj / stereoSep; in R_SetupProjection()
528 stereoSep = zProj / -stereoSep; in R_SetupProjection()
533 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
536 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
[all …]
H A Dtr_local.h1285 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/openarena/openarena-engine-source-0.8.8/code/renderer/
H A Dtr_main.c464 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
466 adjleg = zProj / length; in R_SetupFrustum()
481 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
486 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
491 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
493 adjleg = zProj / length; in R_SetupFrustum()
526 stereoSep = zProj / stereoSep; in R_SetupProjection()
528 stereoSep = zProj / -stereoSep; in R_SetupProjection()
533 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
536 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
[all …]
H A Dtr_local.h1285 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/renderer/
H A Dtr_main.c464 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
466 adjleg = zProj / length; in R_SetupFrustum()
481 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
486 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
491 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
493 adjleg = zProj / length; in R_SetupFrustum()
526 stereoSep = zProj / r_stereoSeparation->value; in R_SetupProjection()
533 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
536 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
542 dest->projectionMatrix[0] = 2 * zProj / width; in R_SetupProjection()
[all …]
H A Dtr_local.h1151 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/iortcw/iortcw-1.51c/MP/code/renderer/
H A Dtr_main.c759 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
761 adjleg = zProj / length; in R_SetupFrustum()
776 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
781 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
786 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
788 adjleg = zProj / length; in R_SetupFrustum()
821 stereoSep = zProj / stereoSep; in R_SetupProjection()
823 stereoSep = zProj / -stereoSep; in R_SetupProjection()
828 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
831 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
[all …]
H A Dtr_local.h1317 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/iortcw/iortcw-1.51c/SP/code/renderer/
H A Dtr_main.c806 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
808 adjleg = zProj / length; in R_SetupFrustum()
823 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
828 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
833 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
835 adjleg = zProj / length; in R_SetupFrustum()
868 stereoSep = zProj / stereoSep; in R_SetupProjection()
870 stereoSep = zProj / -stereoSep; in R_SetupProjection()
875 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
878 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
[all …]
H A Dtr_local.h1339 void R_SetupProjection(viewParms_t *dest, float zProj, qboolean computeFrustum);
/dports/games/iortcw/iortcw-1.51c/MP/code/rend2/
H A Dtr_main.c884 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
886 adjleg = zProj / length; in R_SetupFrustum()
901 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
906 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
911 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
913 adjleg = zProj / length; in R_SetupFrustum()
959 stereoSep = zProj / stereoSep; in R_SetupProjection()
961 stereoSep = zProj / -stereoSep; in R_SetupProjection()
966 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
969 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
[all …]
H A Dtr_local.h2096 void R_SetupProjection(viewParms_t *dest, float zProj, float zFar, qboolean computeFrustum);
/dports/games/iortcw/iortcw-1.51c/SP/code/rend2/
H A Dtr_main.c915 length = sqrt(xmax * xmax + zProj * zProj); in R_SetupFrustum()
917 adjleg = zProj / length; in R_SetupFrustum()
932 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
937 length = sqrt(oppleg * oppleg + zProj * zProj); in R_SetupFrustum()
942 length = sqrt(ymax * ymax + zProj * zProj); in R_SetupFrustum()
944 adjleg = zProj / length; in R_SetupFrustum()
990 stereoSep = zProj / stereoSep; in R_SetupProjection()
992 stereoSep = zProj / -stereoSep; in R_SetupProjection()
997 ymax = zProj * tan(dest->fovY * M_PI / 360.0f); in R_SetupProjection()
1000 xmax = zProj * tan(dest->fovX * M_PI / 360.0f); in R_SetupProjection()
[all …]
H A Dtr_local.h2118 void R_SetupProjection(viewParms_t *dest, float zProj, float zFar, qboolean computeFrustum);
/dports/games/ioquake3/ioquake3-1.36/code/cgame/
H A Dcg_draw.c1934 float stereoSep, zProj, maxdist, xmax; in CG_DrawCrosshair3D() local
1972 zProj = atof(rendererinfos); in CG_DrawCrosshair3D()
1974 stereoSep = zProj / atof(rendererinfos); in CG_DrawCrosshair3D()
1976 xmax = zProj * tan(cg.refdef.fov_x * M_PI / 360.0f); in CG_DrawCrosshair3D()
1979 maxdist = cgs.glconfig.vidWidth * stereoSep * zProj / (2 * xmax); in CG_DrawCrosshair3D()
1990 ent.radius = w / 640 * xmax * trace.fraction * maxdist / zProj; in CG_DrawCrosshair3D()
/dports/games/ioquake3-server/ioquake3-1.36/code/cgame/
H A Dcg_draw.c1934 float stereoSep, zProj, maxdist, xmax; in CG_DrawCrosshair3D() local
1972 zProj = atof(rendererinfos); in CG_DrawCrosshair3D()
1974 stereoSep = zProj / atof(rendererinfos); in CG_DrawCrosshair3D()
1976 xmax = zProj * tan(cg.refdef.fov_x * M_PI / 360.0f); in CG_DrawCrosshair3D()
1979 maxdist = cgs.glconfig.vidWidth * stereoSep * zProj / (2 * xmax); in CG_DrawCrosshair3D()
1990 ent.radius = w / 640 * xmax * trace.fraction * maxdist / zProj; in CG_DrawCrosshair3D()
/dports/games/evq3/evq3/code/cgame/
H A Dcg_draw.c1934 float stereoSep, zProj, maxdist, xmax; in CG_DrawCrosshair3D() local
1972 zProj = atof(rendererinfos); in CG_DrawCrosshair3D()
1974 stereoSep = zProj / atof(rendererinfos); in CG_DrawCrosshair3D()
1976 xmax = zProj * tan(cg.refdef.fov_x * M_PI / 360.0f); in CG_DrawCrosshair3D()
1979 maxdist = cgs.glconfig.vidWidth * stereoSep * zProj / (2 * xmax); in CG_DrawCrosshair3D()
1990 ent.radius = w / 640 * xmax * trace.fraction * maxdist / zProj; in CG_DrawCrosshair3D()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/cgame/
H A Dcg_draw.c1934 float stereoSep, zProj, maxdist, xmax; in CG_DrawCrosshair3D() local
1972 zProj = atof(rendererinfos); in CG_DrawCrosshair3D()
1974 stereoSep = zProj / atof(rendererinfos); in CG_DrawCrosshair3D()
1976 xmax = zProj * tan(cg.refdef.fov_x * M_PI / 360.0f); in CG_DrawCrosshair3D()
1979 maxdist = cgs.glconfig.vidWidth * stereoSep * zProj / (2 * xmax); in CG_DrawCrosshair3D()
1990 ent.radius = w / 640 * xmax * trace.fraction * maxdist / zProj; in CG_DrawCrosshair3D()
/dports/games/iortcw/iortcw-1.51c/MP/code/cgame/
H A Dcg_draw.c1890 float stereoSep, zProj, maxdist, xmax; in CG_DrawCrosshair3D() local
1972 zProj = atof(rendererinfos); in CG_DrawCrosshair3D()
1974 stereoSep = zProj / atof(rendererinfos); in CG_DrawCrosshair3D()
1976 xmax = zProj * tan(cg.refdef.fov_x * M_PI / 360.0f); in CG_DrawCrosshair3D()
1979 maxdist = cgs.glconfig.vidWidth * stereoSep * zProj / (2 * xmax); in CG_DrawCrosshair3D()
1990 ent.radius = w / 640 * xmax * trace.fraction * maxdist / zProj; in CG_DrawCrosshair3D()
/dports/games/iortcw/iortcw-1.51c/SP/code/cgame/
H A Dcg_draw.c2538 float stereoSep, zProj, maxdist, xmax; in CG_DrawCrosshair3D() local
2684 zProj = atof(rendererinfos); in CG_DrawCrosshair3D()
2686 stereoSep = zProj / atof(rendererinfos); in CG_DrawCrosshair3D()
2688 xmax = zProj * tan(cg.refdef.fov_x * M_PI / 360.0f); in CG_DrawCrosshair3D()
2691 maxdist = cgs.glconfig.vidWidth * stereoSep * zProj / (2 * xmax); in CG_DrawCrosshair3D()
2702 ent.radius = w / 640 * xmax * trace.fraction * maxdist / zProj; in CG_DrawCrosshair3D()