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);
2022-01-02 11:58:16
48KB
MFC
树叶
1