1. 首页
  2. 编程语言
  3. C++ 
  4. 使用MFC绘制枫叶树叶

使用MFC绘制枫叶树叶

上传者: 2019-07-12 22:14:17上传 DOC文件 47.5KB 热度 45次
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);
下载地址
用户评论