OpenGL函数思考-glRotatef

来源:互联网 发布:网络小项目 编辑:程序博客网 时间:2024/04/29 14:07

函数原型:

      void glRotated(GLdouble angle,GLdouble x,GLdouble y,GLdouble z)

      void glRotatef(GLfloat angle,GLfloat x,GLfloat y,GLdouble z)

函数说明:

     这两个函数用来计算旋转矩阵,该矩阵围绕原点到点(x,y,z)的向量逆时针旋转angle度。

0 0