当前位置:首页 科普知识 gluOrtho2D

gluOrtho2D

发布时间:2023-09-06 15:49:08

gluOrtho2D

gluOrtho2D详细介绍

gluOrtho2D

gluOrtho2D

NAME

gluOrtho2D -- define a 2-D orthographic projection matrix

C SPECIFICATION

void gluOrtho2D(GLdouble left,

GLdouble right,

GLdouble bottom,

GLdouble top)

PARAMETERS

left, right

gluOrtho2D

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 语言说明

gluOrtho2D

参数 left,right指明平面的左边和右边的垂直坐标

bottom,top

指明平面底部和顶部的水平坐标。

描述:建立了一个可视的二维平面区域。这个和用glOrtho函数效果是一样的当glOrtho的near=0,far=1时

温馨提示:
本文【gluOrtho2D】由作者 爱百科 转载提供。 该文观点仅代表作者本人, 自学教育网 信息发布平台,仅提供信息存储空间服务, 若存在侵权问题,请及时联系管理员或作者进行删除。
(c)2008-2025 自学教育网 All Rights Reserved 汕头市灵创科技有限公司
粤ICP备2024240640号-6