共 1,393 篇文章
共 6,621 篇文章及评论
博客分类
Blog Roll
- Association for Computing Machinery TechNews (ACM)
- Go Parallel! (Dr. Dobbs)
- HPCwire (Tabor Communications, Inc.)
- insideHPC (John West)
- Joe Duffy's Weblog (Microsoft)
- Microsoft Parallel Programming Development Center (Microsoft Germany)
- MultiCoreInfo.com
- scalability.org (Scalable Informatics)
- Software Dev Blog (Intel Germany)
- Soft Talk Blog (Intel United Kingdom)
- The Moth (Microsoft)
Archives
帖子来自 makefish 
OpenGL坐标系
作者: makefish (1 篇文章) 日期: 七月 26, 2010 在 11:07 上午
评论 (0)
坐标原点(0,0,0)位于屏幕的中央。 如果想要很好的理解这个坐标系。写一段代码,测试下面的函数就可以了: void DrawCube(float xPos, float yPos, float zPos) { glPushMatrix(); glTranslatef(xPos, yPos, zPos); glBegin(GL_POLYGON); glVertex3f(0.0f, 0.0f, ...
