使用opengl进行矩形旋转 [英] Rectangle Rotation using opengl

查看:289
本文介绍了使用opengl进行矩形旋转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要两个垂直的矩形.使用opengl相对于y轴旋转一个矩形..pls帮助我..

I want two rectangles which are perpendicular. rotate a rectangle with respect to y axis using opengl..pls help me..

推荐答案


  1. 围绕某个点的旋转: http://www.euclideanspace.com/maths/geometry/affine/aroundPoint/index.htm [ ^ ]
  2. OpenGL API文档: http://www.opengl.org/documentation/ [^ ]

  1. Rotation around a point: http://www.euclideanspace.com/maths/geometry/affine/aroundPoint/index.htm[^]
  2. OpenGL API documentation: http://www.opengl.org/documentation/[^]



那应该足以解决您的问题.

问候,

--MRB



There that should be enough to solve your problem.

Regards,

--MRB


这篇关于使用opengl进行矩形旋转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆