名称:
glOrtho—— 使用一个正交矩阵乘以当前矩阵
函数原型:
void glOrthof(GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat near, GLfloat far);
void glOrthox(GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed near, GLfixed far);
函数参数:
left,right 指定左边和右边垂直切面的坐标
bottom,top 指定下边和上边水平切面的坐标
near,far 指定近端和远端深度切面的距离,如果面在观察者后面,这两个值都要为负数。
描述:
glOrtho描述了一......
阅读全文