摘要: procedureopenGLdraw;beginglEnable(GL_LINE_SMOOTH); //设置反走样glHint(GL_LINE_SMOOTH_HINT,GL_NICEST); //设置反走样‍ glColor4f(1.0,1.0,0.0,1.0); // 设置黄色,透明度为100%glLineWidth(10); // 设置线的宽度glBegin(GL_LINE_STRIP);// 画线 glvertex3f(-3,0.5,0); glVertex3f(0,0.8,0); glVertex3f(3,-0.5,0);glEnd(); //end; 阅读全文
posted @ 2012-11-29 11:29 白条围巾 阅读(3309) 评论(0) 推荐(0) 编辑