摘要: #include #include void init(void) { glClearColor(0.0, 0.0, 0.0, 0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0, 500.0, 0.0, 500.0); glMatrixMode(GL_MODELVIEW); } void myDisplay() { float x... 阅读全文
posted @ 2019-10-14 21:10 DaleLee 阅读(567) 评论(0) 推荐(0)
摘要: #include #include void init(void) { glClearColor(0.0, 0.0, 0.0, 0.0); glMatrixMode(GL_PROJECTION); gluOrtho2D(0.0, 500.0, 0.0, 500.0); glMatrixMode(GL_MODELVIEW); } void myDisplay() { float ... 阅读全文
posted @ 2019-10-14 15:28 DaleLee 阅读(873) 评论(0) 推荐(0)