OpenGL学习第一天
摘要:学了很多次OpenGL了,每次都无疾而终,这次真得用了~~~ 1 #include 2 3 #include 4 5 void render(void); 6 void keyboard(unsigned char c, int x, int y); 7 void mouse(int button, int state, int x, int y); 8 9 int main(int argc, char **argv)10 {11 //初始化glut12 glutInit(&argc, argv);13 //初始化显示模式为双缓存、RGBA14 gl...
阅读全文
posted @
2013-10-09 11:04
排云鹤
阅读(289)
推荐(0)