NeHe OpenGL lession 2(二)

2015-07-20 17:46:08 · 作者: · 浏览: 23
ssed. */ glutKeyboardFunc(&keyPressed); /* Initialzie our window */ initGL(640, 480); /* Start event processing engine */ glutMainLoop(); return 0; }

?

Mac OS X 运行命令:

?

$: clang -o lession lession2.c -Wno-deprecated -framework OpenGL -framework GLUT

?

$: ./lession

?

?

?