View Single Post
Old May 10th, 2006, 7:36 PM   #34
Benoit
Expert Programmer
 
Benoit's Avatar
 
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 573
Rep Power: 5 Benoit is on a distinguished road
A vertex is just an xyz coordinate...

In OpenGl, if you wanted to draw an object, you could make every vertex yourself if you wanted to using glVertex(x,y,z)...

glBegin(GL_TRIANGLES);
glVertex3f(0.0,1.0,0.0);
glVertex3f(-1.0,0.0,0.0);
glVertex3f(1.0,0.0,0.0);
glEnd();
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4
Benoit is offline   Reply With Quote