Hi there,
I feel really stupid since I'm a beginner at OpenGL with drawing. Is there something that I'm missing in the code? The line doesn't show up on the screen. Thanks!
glClearColor(1.0f, 1.0f, 1.0f, 1.0f);
glBegin( GL_LINES );
glColor3f( 1.0f, 0.0f, 0.0f );
glVertex3f( 100.0f, 150.0f, 0.0f );
glVertex3f( 250.0f, 200.0f, 10.0f );
glEnd();