Catmull–Clark subdivision surface/C: Difference between revisions
Content added Content deleted
m (add {{libheader|GLUT}}) |
m (GL_LINE -> GL_LINES) |
||
Line 563: | Line 563: | ||
else glColor3fv(color); |
else glColor3fv(color); |
||
glBegin( |
glBegin(GL_LINES); |
||
glVertex3fv(&(e->v[0]->pos.x)); |
glVertex3fv(&(e->v[0]->pos.x)); |
||
glVertex3fv(&(e->v[1]->pos.x)); |
glVertex3fv(&(e->v[1]->pos.x)); |