投影

一、正投影

GLFrustum::setOrthographic(GLfloat xmin,GLfloat xmax,GLfloat ymin,GLfloat ymax,GLfloat zmin,GLfloat zmax);

二、透视投影

GLFrustum::setPerspective(float fFov,float fAspect,float fNear,float FFar);

fFov:垂直方向上的视场仰角。
fAspect:窗口的宽度与高度的纵横比(用宽度除以高度)
fNear:到近裁剪面的距离
fFar:到远裁剪面的距离
原文地址:https://www.cnblogs.com/rabbit0212/p/11265331.html