OpenGL函数思考-glRotatef
函数原型:
void glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z)
void glRotatef(GLfloat angle,GLfloat x,GLfloat y,GLdouble z)
函数说明:
这两个函数用来计算旋转矩阵,该矩阵围绕原点到点(x,y,z)的向量逆时针旋转angle度。
本文介绍了OpenGL中的glRotatef和glRotated函数,这两个函数用于计算围绕指定轴逆时针旋转的角度矩阵。文章详细阐述了函数的参数含义及使用场景。
OpenGL函数思考-glRotatef
函数原型:
void glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z)
void glRotatef(GLfloat angle,GLfloat x,GLfloat y,GLdouble z)
函数说明:
这两个函数用来计算旋转矩阵,该矩阵围绕原点到点(x,y,z)的向量逆时针旋转angle度。

被折叠的 条评论
为什么被折叠?