… | |
… | |
164 | glMaterialf (GL_FRONT, GL_SHININESS, m.shininess); |
164 | glMaterialf (GL_FRONT, GL_SHININESS, m.shininess); |
165 | |
165 | |
166 | #if 0 |
166 | #if 0 |
167 | glBegin (type); |
167 | glBegin (type); |
168 | |
168 | |
169 | for (iterator i = begin (); i < end (); ++i) |
169 | for (vector<vertex2d>::const_iterator i = v.begin (); i < v.end (); ++i) |
170 | { |
170 | { |
171 | glTexCoord2fv ((GLfloat *)&i->t); |
171 | glTexCoord2fv ((GLfloat *)&i->t); |
172 | glNormal3fv ((GLfloat *)&i->n); |
172 | glNormal3fv ((GLfloat *)&i->n); |
173 | glVertex3fv ((GLfloat *)&i->p); |
173 | glVertex3fv ((GLfloat *)&i->p); |
174 | } |
174 | } |