Why would the following code draw line but the bottow one does not.
glBegin(GL_LINES);
glVertex3f( 0.0,0.0, 0.0 );
glVertex3f( 10.0, 10.0, 0.0 );
glBegin(GL_LINES);
glVertex3f( 10.0,0.0, 0.0 );
glVertex3f( 10.0, 10.0, 0.0 );
Does every line has to be started from 0,0,0 coordinates?
Even this one does not work-
glBegin( GL_TRIANGLES );
glVertex3f(0.0f, 0.0f, 60.0f);
glVertex3f(-15.0f, 0.0f, 30.0f);
glVertex3f(15.0f,0.0f,30.0f);



