opengl 源码

编程入门 行业动态 更新时间:2024-10-23 06:30:33
//Win32 Console Application#include #include const int n = 60;const GLfloat R = 0.2f;const GLfloat Pi = 3.1415926536f;void myDisplay(void){ int i; glClear(GL_COLOR_BUFFER_BIT); //点 glPointSize(2.0); glBegin(GL_POINTS); glVertex2f(0.0f, 0.0f); glEnd(); //由闭合折线组成的圆 glBegin(GL_LINE_LOOP); glColor3f(1.0,1.0,0.0); for(i=0; i
  • 0
  • 0
  • 0
  • 0
  • 0

更多推荐

opengl 源码

本文发布于:2023-06-03 12:17:23,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/473760.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:源码   opengl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!