Lines Matching refs:frustum
34 mplane_t frustum[4];
116 if (BoxOnPlaneSide (mins, maxs, &frustum[i]) == 2)
940 VectorAdd (vpn, vright, frustum[0].normal);
941 VectorSubtract (vpn, vright, frustum[1].normal);
943 VectorAdd (vpn, vup, frustum[2].normal);
944 VectorSubtract (vpn, vup, frustum[3].normal);
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 ) );
960 frustum[i].type = PLANE_ANYZ;
961 frustum[i].dist = DotProduct (r_origin, frustum[i].normal);
962 frustum[i].signbits = SignbitsForPlane (&frustum[i]);