glLoadIdentity

来源:互联网 发布:17173天谕捏脸数据 编辑:程序博客网 时间:2024/05/22 12:58
glLoadIdentity

NAME

函数名

glLoadIdentity -- replace the current matrix with the identity matrix

        用同等的矩阵替换当前的矩阵

C SPECIFICATION

C风格


void glLoadIdentity(void void)

DESCRIPTION

描述

glLoadIdentity replaces the current matrix with the identity matrix.
glLoadIdentity用同等的矩阵替换当前的矩阵

It is semantically equivalent to calling glLoadMatrix with the identity matrix
but in some cases it is more efficient.

用同等矩阵调用glLoadMatrix,在语义上是等效的,但是在某些情况下更高效。

NOTES

ERRORS


GL_INVALID_OPERATION is generated if glLoadIdentity is called between a call to

glBegin and the corresponding call to glEnd.


原创粉丝点击