دوستان من واسه رسم خط این کد را گیر آوردم
#include < gl/glut.h ><=""> void display(void)
{
/* clear all pixels */
glClear (GL_COLOR_BUFFER_BIT); /* draw white polygon (rectangle) with corners at
* (0.25, 0.25, 0.0) and (0.75, 0.75, 0.0) */
glColor3f (1.0, 1.0, 1.0)...