函数原型:
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中的glRotated与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度。

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