OpenGL中的渐变颜色绘图(应力可视化)

复制代码 1 #include <GL/glut.h> 2 #include 3 #include 4 using namespace std; 5 const GLsizei width=640; 6 const GLsizei height=480;//设置窗口的宽和高 7 8 void myInit() 9 { 10 glClearColor(0,0,0,0); 11 } 12 13 14
相关文章
相关标签/搜索