使用MFC绘制枫叶树叶

时间:2014-01-02 07:38:17
【文件属性】:

文件名称:使用MFC绘制枫叶树叶

文件大小:48KB

文件格式:DOC

更新时间:2014-01-02 07:38:17

MFC 树叶

glShadeModel(GL_SMOOTH); glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); glBegin(GL_TRIANGLE_FAN); glVertex3f(0.0f,0.0f,0.0f); glVertex3f(0.16f,-.05f,0.0f); glVertex3f(0.2f,-0.05f,0.0f); glVertex3f(0.1f,0.0f,0.0f); glVertex3f(0.2f,0.05f,0.0f); glVertex3f(0.1f,0.06f,0.0f); glVertex3f(0.16f,0.08f,0.0f);


网友评论