NAME
gluOrtho2D -- define a 2-D orthographic projection matrix
C SPECIFICATION
void gluOrtho2D(GLdouble Left,
GLdouble right,
GLdouble bottom,
GLdouble top)
PARAMETERS
left, right
Specify the coordinates for the left and right vertical clipping planes.
bottom, top
Specify the coordinates for the bottom and top horizontal clipping planes.
DESCRIPTION
gluOrtho2D sets up a two-dimensional orthographic viewing region. This is equivalent to calling glOrtho with near = 0 and far = 1.
【中文解釋】
名稱
gluOrtho2D定義了一個二維圖像投影矩陣
C 語言說明
參數 left,right指明平面的左邊和右邊的垂直坐標
bottom,top
指明平面底部和頂部的水平坐標。
描述:建立了一個可視的二位平面區域。這個和用glOrtho函式效果是一樣的當glOrtho的near=0,far=1時