摘要:
代码: 1 #define GLUT_DISABLE_ATEXIT_HACK 2 #include "gl/glut.h" 3 4 void OnDisplay(void); 5 void OnReShape(int,int); 6 void OnKey(GLubyte,GLint,GLint); 7 void SetupRC(); 8 void SetupLights(); 9 10 void main(int argc,char* argv[]) 11 { 12 glutInit(&argc,argv); 13 glutInitD... 阅读全文
![](/skins/gray/images/separator.gif)