"Stdafx.h" "Glut.h": #Include #Include Void Void
"Stdafx.h" "Glut.h": #Include #Include Void Void
//
#include "stdafx.h"
#include "glut.h"
void init(void)
{
glClearColor(1.0, 1.0, 1.0, 0.0); // Set display window colour to
white
void lineSegment(void)
{
glClear(GL_COLOR_BUFFER_BIT); // Clear display window
init(); // Execute
initialisation procedure
glutDisplayFunc(lineSegment); // Send graphics to display window
glutMainLoop(); // Display everything and wait
return 0;
}