glLoadIdentity

ction ction ction

The glLoadIdentity function replaces the current matrix with the identity matrix.
glLoadIdentity該函式的功能是重置當前指定的矩陣為單位矩陣.
函式原型:void glLoadIdentity( void);
Remarks(備註:)The glLoadIdentity function replaces the current matrix with the identity matrix. It is semantically equivalent to calling glLoadMatrix with the identity matrix
glLoadIdentity該函式的功能是重置當前指定的矩陣為單位矩陣.在語義上,其等同於用單位矩陣調用glLoadMatrix。
but in some cases it is more efficient.
但是,在一些情況下,glLoadIdentity更加效率。
The following functions retrieve information related to glLoadIdentity:
下面是一些與glLoadIdentity相關的函式信息:
glGet with argument GL_MATRIX_MODE
glGet with argument GL_MODELVIEW_MATRIX
glGet with argument GL_PROJECTION_MATRIX
glGet with argument GL_TEXTURE_MATRIX
Error Codes(錯誤代碼):
The following is the error code and its condition.
GL_INVALID_OPERATION glLoadIdentity was called between a call to glBegin and the corresponding call to glEnd.

相關搜尋

熱門詞條

聯絡我們