现在的位置: 首页 > 综合 > 正文

OpenGL函数思考-glRotatef

2013年09月20日 ⁄ 综合 ⁄ 共 203字 ⁄ 字号 评论关闭

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度。

抱歉!评论已关闭.