PDA

View Full Version : How do you draw wire frame lines from point to point?



HAMCircuitsWillBearMyName
11-27-2001, 08:26 PM
I want to be able to draw from one point to another given it's coordinates. I would be most gratefull. I am working on a proof for a theory on hamiltonian circuits and need to be able to draw from one point to another ultimately to create a 3D, wireframe graph.
thanks!

Korval
11-27-2001, 08:58 PM
glBegin(GL_LINES)
glVertex3(START_POSITION)
glVertex3(END_POSITION)
glEnd()