2012年4月30日
摘要: 1 #define GLUT_DISABLE_ATEXIT_HACK 2 #include "gl/glut.h" 3 4 GLubyte zebra[]={0x00,0x00,0x00,0x00, 5 0x37,0x20,0x00,0x00, 6 0x13,0x60,0x00,0x00, 7 0x10,0x60,0x00,0x00, 8 0x14,0x60,0x00,0x00, 9 0x16,0x38,0x00,0x00,10 ... 阅读全文
posted @ 2012-04-30 10:46 xiacl 阅读(257) 评论(0) 推荐(0) 编辑
摘要: 1 #define GLUT_DISABLE_ATEXIT_HACK 2 #include <stdio.h> 3 #include <gl/glut.h> 4 #include <gl/glaux.h> 5 #pragma comment(lib,"glaux.lib") 6 7 8 AUX_RGBImageRec* Image; 9 GLint iWidth,iHeight,iMode=1; 10 GLubyte* pImage; 11 12 void Initialization(void); 13 void MenuCreate( 阅读全文
posted @ 2012-04-30 10:03 xiacl 阅读(697) 评论(0) 推荐(0) 编辑