Lines Matching refs:nearPlane
708 void QDoubleMatrix4x4::ortho(double left, double right, double bottom, double top, double nearPlane… in ortho() argument
711 if (left == right || bottom == top || nearPlane == farPlane) in ortho()
717 double clip = farPlane - nearPlane; in ortho()
730 m.m[3][2] = -(nearPlane + farPlane) / clip; in ortho()
741 …4::frustum(double left, double right, double bottom, double top, double nearPlane, double farPlane) in frustum() argument
744 if (left == right || bottom == top || nearPlane == farPlane) in frustum()
751 double clip = farPlane - nearPlane; in frustum()
752 m.m[0][0] = 2.0 * nearPlane / width; in frustum()
757 m.m[1][1] = 2.0 * nearPlane / invheight; in frustum()
762 m.m[2][2] = -(nearPlane + farPlane) / clip; in frustum()
763 m.m[3][2] = -2.0 * nearPlane * farPlane / clip; in frustum()
774 void QDoubleMatrix4x4::perspective(double verticalAngle, double aspectRatio, double nearPlane, doub… in perspective() argument
777 if (nearPlane == farPlane || aspectRatio == 0.0) in perspective()
787 double clip = farPlane - nearPlane; in perspective()
798 m.m[2][2] = -(nearPlane + farPlane) / clip; in perspective()
799 m.m[3][2] = -(2.0 * nearPlane * farPlane) / clip; in perspective()
843 …iewport(double left, double bottom, double width, double height, double nearPlane, double farPlane) in viewport() argument
859 m.m[2][2] = (farPlane - nearPlane) / 2.0; in viewport()
860 m.m[3][2] = (nearPlane + farPlane) / 2.0; in viewport()