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
相關文章
相關標籤/搜索